Pause implemented

Pause functionality implemented.