This is the sample app in chapter 3