adding some common event stat routines