This is the sample application from the book