Dimsyl sodium is used for the alkylation of polysaccharide and sometimes oligosaccharides. It is a very strong base and it converts the polysaccharide to the polyanion. Treatment of DMSO with NaH gives dimsyl sodium, under the evolution of hydrogen gas. Because of its flammability NaH is kept in oil which must be washed away before the reaction with DMSO. The NaH-suspension should be grey, if it is white that is a sign of NaOH coming from moisture. Petroleum ether or hexane is used for this. The resulting solution of dimsyl sodium is 2M.