simplify the event tracking