explain how to get events in eventDisplay macro.