Exercises for chapter 12