Added print statement to latency method.