add ability to control pausetime (issue #2)