HW3 part 3 update  to checks