v2 with DFA structure