added timing to xml file output