changed get_all_grades