Exercises chapter 9 finished