This is sample app of chapter 3