Implemented pause and unpause
Testing