added the grader functionality