adding mockup getAvgTime