finished demo_app