assign category to item