sensei jon helped me debug the XHR