provide new xml creation logic