changed spurious wait to pause