properly utilizing latency argument