token generator done