added checks and grader script