Finish demo_app chap.2