add defence_state to state machine