states = {
  'b/any': [[p0, r], 'c'],
  'c/any': [[r], 'e'],
  'e/any': [[p1, r], 'f'],
  'f/any': [[r], 'b']
}

machine.state = 'b'
