public token support
improve docs