generalize the idea of tokens a bit more, don't restrict it to the rfc822