add detailed example for running variation_example