 In the next step iodobenzene diacetate is added, converting the amide in a Hofmann rearrangement to the allyl carbamate 12 after capturing the intermediate isocyanate with allyl alcohol 11.On addition of sodium ethoxide in ethanol three reactions take place simultaneously