Where's the logic to generate the tokens if they do not exist?