redoing the entities in the xml