by investigating stray magnetic fields