working on xml results and fixing naming