added checks and grader