got the xml working