started xml functions