removed instance variable from model method