now makes use of pause library, if present