finishing interim chapter 2 of demo app