added pausing