helper for implementing Data Insight Recorders