added index to eventData