update chapter 4, question 7
update chapter 4, question 8