started calculating average time