adding category to event