complete the HW3