returning the category and unit class