Simple statechart