text: In the first step, a delocalized allyloxocarbenium ion (2) is formed, typically with the aid of a Lewis acid like indium(III) chloride or boron trifluoride. This ion reacts in situ with an alcohol, yielding a mixture of the α (3) and β (4) anomers of the 2-glycoside, with the double bond shifted to position 3,4.