finish the demo_app