Fixing chapter 7.