added statemachine to the string _header