Added some xml stuff