added instance variable to fix student add problem