sample app from the Michael Hartl book