updates to chapter 4