Sample App for chapter 3