run the experiment in loops