xml generqtion wip