Bending electromagnets in accelerators were first used to generate this radiation, but to generate stronger radiation, other specialized devices – insertion devices – are sometimes employed. Current (third-generation) synchrotron radiation sources are typically reliant upon these insertion devices, where straight sections of the storage ring incorporate periodic magnetic structures (comprising many magnets in a pattern of alternating N and S poles – see diagram above) which force the electrons into a sinusoidal or helical path. Thus, instead of a single bend, many tens or hundreds of "wiggles" at precisely calculated positions add up or multiply the total intensity of the beam.