sample_app second edition