tutorial chapter 6