started working on ch6 of the book