got the use of the token generator interface working