HW4 completed