adding xml files and edited logging