calibration implemented. Buggy, yet.