Moved the request initializtion to a more sensible location