better implementation of communication delay
added communication delay in run_exp