add token with a simple gen function