added to xml conversion function and response functions to UI class