Moved the accepting states out of the automata