Adding chapter 9, only part way complete