calibration and measurement