updated run_example