updates to chapter 4 and 9