implemented calibration and feedback