second try for demo_app