updated the timing math