C(O)COCCOCCO.NC(N)=[S:13].[CH3:15][O:16][CH:17]([O:28][CH3:29])[CH2:18][CH:19]([CH3:27])[CH2:20][CH2:21][CH2:22][C:23](Cl)([CH3:25])[CH3:24].NCCNCCNCCNCCN>>[CH3:15][O:16][CH:17]([O:28][CH3:29])[CH2:18][CH:19]([CH3:27])[CH2:20][CH2:21][CH2:22][C:23]([SH:13])([CH3:25])[CH3:24]To a mixture of 100 ml. of triethylene glycol and 42 g. of thiourea, at 75°-80°, slowly added one equivalent of 1,1-dimethoxy-7-chloro-3,7-dimethyloctane, with stirring, keeping the temperature below 130°. When the reaction mixture is homogeneous, the reaction is continued 12 hours and then one equivalent of tetraethylenepentamine is added slowly. Then the reaction mixture is heated to reflux until the head temperature is constant. The mixture is then distilled to give crude 1,1-dimethoxy-7-mercapto-3,7-dimethyloctane which is purified by fractional distillation.