calibrate constants