the automata works (numbers)
merge fixed