refactored xmls