demo app second chapter 24/8/2014