chapter02, demo_app