functions for harvesting and saving records