Put events in hash