using DFA to have a try.