cleanup and start of chapter 7