added function to student DAO