end chapter 7 exercises