changed units to categories