changed code

run first tests and din't work only prints out 1  value from xml file