to XML inteface