restructure categories