Added calibrate method