Renamed run_a_single_trial to _run_a_single_trial