modified grader to accept URLs