sections 2, 3 HW4