second step of demo_app