HW3Part3 nearly done