app demo chapter 2