adding some comments, commenting out the xhr output