started part 3-initial grader logic