finished  chapter 9 and the exercise