Replace instance variable with local variable

Fork me on GitHub