almost working XML