Sample app, chapter 3