added autocalibrator and example