finish the category part