modified grader.js