remake app as demo_app