More work on chapter 4