setting up the run