add a category variable