exercise 5 for chapter 02