Sample app from chap3