demo_app from Hartl's book