added additional class checks
modified grader to accept url