add Racy state machine