updated requests.c