end of chapter 6, before exercises