updates to chapter 5