moved to elementtree for faster parsing