working XML writer too