Complete HW3-3