Convert local variables to instance variables
Helps readability of code.