still working on calibration; issue unsolved. Need state machine...