end chapter 8 exercises.