adding calibration hooks