adding wait time.