add latency mock