HW4 finished