further refactoring to set_all_grades_to I felt could be made