HW6 finished