re-structured xml