organize_tax_by_d_id intermediate