   WAITINGFORCARD,           // waiting for card.
   CHECKINGCARD,
   REJECTED,
+  THANKS,
 } machinestates_t;
 
 #define NEVER (0)

  unsigned long timeInState;
  unsigned long timeoutTransitions;
  unsigned long autoReportCycle;
} state[REJECTED + 1] =
{
  { "Booting",              LED::LED_ERROR,           120 * 1000, REBOOT,         0 },
  { "Out of order",         LED::LED_ERROR,           120 * 1000, REBOOT,         5 * 60 * 1000 },

    case WAITINGFORCARD:
    case CHECKINGCARD:
    case REJECTED:
    case THANKS:
      // all handled in above stage engine.
      break;
  };
