End of chapter 7 stuff