answer to chapter 4, question 5
update chapter 4, question 6