use time instead of pause