Dealing with repeated tokens