modified grader to handle url