from [:x] to [category_id].At index and category.