working statemachine ro