Add pause() public function