wip trying to dedup events