added the xhr object