implementation of calibration of object