added xml creation