Breaking out the request handler