working version of requests