tutorial chapter 2