Added (finished) chapter 9