removed state_machine