statechart with server and server state content