added rounding to wait time