End chapter 6