Added Pause function to process sim