implement the event info function