Added Pause and Restart Function