created methods parser, printXML, printText