added function to write out information from catalog