First crack at HW3 Part 3