reseting offsets
moved calibration into program