added timer to measure calibration duration