added some latency mitigation