maybe it can be placed in `checkDelayInRange`?