next Statediagram