Added XML creation