added stuff for filtering by event numbers