did the exercise for chapter 5