added some xml stuff