fetching data from xml files, but still too slow