HW6 completed