Added getting xml and inserting data - has errors