Chapter 2 capstone exercise