added a methode in student class