sections 8, 9 HW4