validation and calibration