Title: Structural effects in the rearrangement reactions of alpha-haloamides with amines