work on grading.sql