added startx automata