Added getDelay function