- implementing methods to export to XML