moved paused() to progressHandler