update to chapter 6