Pause

added pause functionality