exercise in chapter 3