changes to delay calculation algorithm