started on actual grading code