removed ability to pass user agent