Chapter 5 first half exercises