moved calibration helper implementation to bot