refactor replicated event summarization