Chapter 4 exercises.