sample_app  Chapter7