checking if the run is complete
checking if the run is complete