rename token to tokens to avoid namespace conflicts with python builtins using relative imports