The reaction of dimethyl naphthalene-1,5-disulfonate (I) with dimethylaminoethanol (II) gives bis (2-hydroxyethyltrimethylammonium)naphthalene-1,5-disulfonate (III), which is then condensed with 2-acetoxypropionic anhydride (IV) in refluxing acetonitrile