tutorial chapter 2 demo app