Working through chapter 9