[C:1]([CH2:4][O:5][CH2:6][C:7]([N:9]([CH3:27])[C:10]1[CH:26]=[CH:25][C:13]2[N+:14](CCCS([O-])(=O)=O)=[C:15]([CH3:17])[S:16][C:12]=2[CH:11]=1)=[O:8])([OH:3])=[O:2].C1CS(=O)C1>C(#N)C>[CH3:27][N:9]([C:10]1[CH:26]=[CH:25][C:13]2[N:14]=[C:15]([CH3:17])[S:16][C:12]=2[CH:11]=1)[C:7](=[O:8])[CH2:6][O:5][CH2:4][C:1]([OH:3])=[O:2]3-{5-[[(Carboxymethoxy)acetyl](methyl)amino]-2,3,3-trimethyl-3H-indolium-1-yl}propane-1-sulfonate (22) and 3-{6-[[(Carboxymethoxy) acetyl](methyl)amino]-2-methyl-1,3-benzothiazol-3-ium-3-yl}propane-1-sulfonate (23). To a solution of acid (21 or 22, 1.00 mmol) in 25 mL of dry acetonitrile was added propane sulfone (10 mmol). This mixture was stirred under reflux for 48 h. After cooling the hygroscopic salt was filtered, washed with acetone, and immediately used in the next step.