added latency mode