sample_app from the RonR tutorial