State machine finalized