got calibration working