Exercises chapter 7