end of chapter 5 exercises