added addStudent functionality