routines to grab event data