got it working with the xml thing