added checks of delays.