collect/event/on_event_collect library