review to initialize from XML file