demo_app from mhartl's book