added units to xml