merged with calibrate