more debugging... trying to get calibration to work