Updated chapter 9