references are stored in xml file. added function to retrieve ref info.