Magnet/electromagnets