adding handler for calibration