adds data members to student class