Try using the common state machine for machines