I have tried to use a bromine source to do an intramolecular cyclization with an amide to afford an Spiroisoxazolines containing lactam. But, the issue is that I believe it is not cyclizing because the lone pair from the nitrogen atom is doing resonance or abstract a proton from somewhere. I am trying to make a gamma-methylene gamma lactam by using three different synthetic methodology: Hg(OTf)2, amide and 1,2-diketone or make a anhydride and reduce one of the carbonyl groups to a methylene through a Wittig reaction. Please help!!!