add work on event categories (not yet working due to optimization problems)