should be token.split instead of token.token.split