- handled pause and unpause, that resolves #7