completed HW6