yet more xml stuff, this is getting silly now