finished arm state machine