calibration and recorder unified in one main