Chapter 5 exercises.