finished main edit of chapter 9