with a rotating or otherwise moving magnet