added calibrate functions