added function callback to harvest record processing