Added updated state machine version