HW4 part 9