change demo_app struct