updated for setting student's grade