demo of sample_app