replace Tokens::compare with Token->equals