Sample app from the book.