added title to statechart