added latency configuration