[Al+3].[Cl-].[Cl-].[Cl-].[N+](C)([O-])=O.[CH2:9]([N:12]1[CH:16]=[CH:15][CH:14]=[C:13]1[C:17]#[N:18])[CH:10]=[CH2:11].[CH3:19][O:20]C(Cl)Cl>C(Cl)Cl>[CH2:9]([N:12]1[CH:16]=[C:15]([CH:19]=[O:20])[CH:14]=[C:13]1[C:17]#[N:18])[CH:10]=[CH2:11]To a 100 mL flask charged with AlCl3 (3.3 g, 25 mmol, 2.5 equiv.) and 35 mL of dry CH2Cl2 was added 2 mL of nitromethane. The mixture was cooled to 0° C. and a solution of 1-allyl-1H-pyrrole-2-carbonitrile (1.3 g, 10 mmol, 1 equiv.) in 5 mL of CH2Cl2 was added followed by a solution of dichloromethyl methyl ether in 10 mL of CH2Cl2 dropwise. After 30 minutes, the reaction was warmed to room temperature, stirred for 1.5 hours, poured over 100 mL of ice water, and the organic layer was separated. The organic layers were washed with 30 mL of 3M HCl, 30 mL of water, 18% aqueous sodium sulfite, filtered through CELITE® filter aid and concentrated in vacuo. The residue was purified by flash chromatography eluting with EtOAc-hexanes (5-40% gradient) to provide 1.25 g (78%) of 1-allyl-4-formyl-1H-pyrrole-2-carbonitrile as a yellow oil.