Improving chapter 5