referencing instance variable instead of local variable
Merge pull request #2 from omarreiss/undefined-local-variable

referencing instance variable instead of local variable