adjustment and calibration