complete the exercise 2 for chapter 03