end chapter 5 exercises