selections now store unique ids in xml