Implemented pausing