added latency to example