changed latency to 20ms