The sample app of chapter 3