sections 6, 7 HW4