changed to xml document