michaelnicol,
I asked a similar question regarding this exercise as well. See this post:
This might help.