Renamed name to eventName for clearer usage