Make eventInd an integer as opposed to array