rename to loadFromXML