added xml_report method