added function addstudent to globs