HW3 and 4