Fixes chapter 6