made function for grades for single student