HW5 completed