ported find base station to the new state machine