pass collection name to events