sample_app tutorial book 3.0