Exercises chapter 3