by the SN2 mechanism. When a nucleophilic substitution results in incomplete inversion, it is because of a competition between the two mechanisms, as often occurs at secondary centres, or because of double inversion (as when iodide is the nucleophile). The addition of singlet carbenes to alkenes is stereospecific in that the geometry of the alkene is preserved in the product. For example, dibromocarbene and cis-2-butene yield cis-2,3-dimethyl-1,1-dibromocyclopropane, whereas the trans isomer exclusively yields the trans cyclopropane. This addition remains stereospecific even if the starting alkene is not isomerically pure, as the products' stereochemistry will match the reactants'. The disrotatory ring closing reaction of conjugated trienes is stereospecific in that isomeric reactants will give isomeric products. For example, trans,cis,trans-2,4,6-octatriene gives cis-dimethylcyclohexadiene, whereas the trans,cis,cis reactant isomer gives the trans product and the trans,trans,trans reactant isomer does not react in this manner. See also Dynamic stereochemistry References Stereochemistry