Added changes to chapter 3 to book