sample app start from chapter 3