exercise 5_1
chapter 5