don't use instance variables in the controller action.  extract line 4 into a method and mark it as a help.