now good for web requests also