N Magnet Switch