Sample app of Chap 3