added load from XML - not fully working