setting up XML requests