magnetic fields interaction