generation of magnetic fields 827368