tinkered with extraction algorithm
utilities for event retrieval