added setting for pauseTime