emit(eventName, data, index)