changing some requests to asynchronous