handleRequests