initial attempt at state machine calibration button