This is demo_app by chapter2