HW4 part 3