added first step towards automated calibration routine