Exercises chapter 6