added ExportToXML