producing stronger and weaker magnetic fields