began work on calibration routine