Change wonky instance variable to local variable