Changed eventid to handle millions of events