Chapter 1 exercises