Exercises in chapter 3