adding xhttp variable