Refactored, however @student not being modified by input_students