tokens debugged, production ready!