changes for xml format