state machine final without server, example drawings