adjusting latency