the computation is correct
time measurement implemented