demo app from the book