sketch front end code for grading queue