replace instance variable with local variable

notes/_form still needs to be done