add classname to event