automatic
FSM for programms