sample_app init