now category is working for one variable