Attach items inside their categories