Close Menu
Tool Guider – Trending Tools
  • Home
  • Tools Blogs Trending Now
  • Write for us
What's Hot

Best Walking Pads in 2026: Top Picks for Home and Office

Counterfeit Power Tool Battery Safety and Fire Risks

How to Spot Fake DeWalt Tools: Batteries, Housings, and Sellers

Facebook X (Twitter) Instagram
Tool Guider – Trending ToolsTool Guider – Trending Tools
  • Home
  • Tools Blogs Trending Now

    Best Walking Pads in 2026: Top Picks for Home and Office

    Counterfeit Power Tool Battery Safety and Fire Risks

    How to Spot Fake DeWalt Tools: Batteries, Housings, and Sellers

    How to Spot a Fake Milwaukee Impact Driver Before You Buy

    Counterfeit Power Tools: How to Spot Fake Cordless Tools Before You Buy

  • Write for us
Tool Guider – Trending Tools
Home » Best Metal Detector Circuit: Essential Breakthrough

Best Metal Detector Circuit: Essential Breakthrough

Belayet HossainBy Belayet Hossain Other 15 Mins Read
Share
Facebook Twitter LinkedIn Pinterest WhatsApp Email

Published on: September 16, 2025 | Updated on: October 24, 2026

The best metal detector circuit is the heart of your treasure-hunting success, dictating sensitivity, discrimination, and depth. Understanding its core components and recent advancements can significantly boost your finds, turning frustration into rewarding discoveries. This guide breaks down what makes a circuit superior and what to look for.

The hum of a metal detector, the thrill of a strong signal, and the anticipation of uncovering history – these are the elements that draw us to the field. Yet, sometimes, the equipment doesn’t perform as expected, leaving us scratching our heads. A common frustration for detectorists, from seasoned pros to weekend hobbyists, is understanding why some machines excel while others falter. The secret often lies deep within the detector itself: its electronic circuit. This guide will demystify the “best metal detector circuit,” explaining its essential breakthroughs and how they translate into more finds for you. We’ll explore the technology that powers your search and help you appreciate what truly makes a detector effective.

Contents

  • 1. Unpacking the “Best Metal Detector Circuit”: What It Really Means
  • 2. The Core Components of Any Metal Detector Circuit
  • 3. Breakthroughs in Pulse Induction (PI) Technology
  • 4. Advancements in Very Low Frequency (VLF) Circuitry
  • 5. The Role of Digital Signal Processing (DSP)
  • 6. Understanding Ground Mineralization and its Circuitry Impact
  • 7. The Evolution of Search Coils and Their Circuitry Integration
  • 8. Innovations in User Interface and Control Circuits
  • 9. Factors to Consider When Choosing a Detector Based on Circuit Design
  • 10. Frequently Asked Questions About Metal Detector Circuits
  • 11. Conclusion: The Circuit is King
  • 12. Author

Unpacking the “Best Metal Detector Circuit”: What It Really Means

When we talk about the “best metal detector circuit,” we’re not necessarily pointing to a single, universally perfect design. Instead, it refers to a sophisticated electronic system that expertly balances sensitivity, discrimination, depth, and ease of use for specific detecting goals. The ideal circuit is one that minimizes noise, maximizes target detection, and provides clear, actionable information to the user, whether you’re after ancient coins, gold nuggets, or lost jewelry. It’s the engine that drives all the features you see on the control panel.

This intricate network of components is responsible for generating an electromagnetic field, analyzing signals reflected from buried targets, and translating that information into audible or visual cues. A well-designed circuit will consistently outperform a poorly engineered one, especially in challenging ground conditions or when hunting for elusive targets.

The Core Components of Any Metal Detector Circuit

Every metal detector, regardless of its price point or sophistication, relies on a few fundamental electronic components to function. Understanding these building blocks is key to appreciating the advancements that lead to the “best metal detector circuit” available today. These are the unsung heroes that work tirelessly beneath the surface of your detector.

Oscillator: This component generates the electromagnetic field that the search coil emits into the ground. The frequency of this oscillation is crucial and affects how the detector responds to different types of targets. Lower frequencies are generally better for conductive targets like large coins, while higher frequencies excel at detecting small, low-conductivity targets like gold nuggets.
Search Coil: While not strictly part of the circuit board, the search coil is intrinsically linked. It acts as both a transmitter and a receiver. The signals generated by the oscillator pass through the coil, creating the electromagnetic field. When this field encounters a buried metal object, it induces eddy currents, which then generate a secondary magnetic field that the search coil detects.
Detector Circuit (Receiver & Signal Processor): This is where the magic happens. This part of the circuit amplifies the faint signals picked up by the search coil, filters out unwanted noise (like from mineralized soil or trash), and processes the signal to determine if it’s from a target and, if possible, what kind of metal it might be. Modern circuits employ advanced digital signal processing (DSP) for superior performance.
Threshold Control: This allows the user to set a constant background hum, which helps in detecting very faint signals. A well-implemented threshold control contributes to the overall usability and sensitivity of the detector.
Discrimination Circuit: This is what allows a detector to ignore certain types of metal, like iron nails or pull tabs, while still responding to desirable targets like silver coins. Advanced discrimination circuits are a hallmark of high-quality detectors, preventing constant false signals and saving you digging time.
Audio Output/Speaker: This translates the processed signals into audible tones that the user can interpret. The quality and clarity of the audio feedback are vital for effective detecting.
Power Supply: Batteries power the entire system. Efficient power management is important for longer run times in the field.

The interplay between these components, especially the sophistication of the detector circuit itself, defines the performance ceiling of any metal detector.

Breakthroughs in Pulse Induction (PI) Technology

Pulse Induction (PI) metal detectors operate on a fundamentally different principle than their VLF (Very Low Frequency) counterparts, and advancements in PI circuits have opened up new frontiers for detectorists, particularly in challenging environments. PI circuits send out short, powerful pulses of current through the coil. They then measure the decay of the magnetic field produced by these pulses.

When a metal object is present, it disrupts this decay, and the PI circuit measures how long it takes for the field to collapse. This makes PI detectors exceptionally good at cutting through highly mineralized ground and saltwater, which often plague VLF detectors. The “best metal detector circuit” in the PI realm focuses on refining the pulse timing and the sensitivity of the decay measurement.

Faster Pulse Decay Measurement: Newer PI circuits can measure the magnetic field decay much faster and with greater precision. This allows them to differentiate between target signals and ground mineralization more effectively.
Variable Pulse Induction (VPI): Some advanced PI detectors offer adjustable pulse widths. This allows users to fine-tune the detector’s response to different target types and ground conditions, enhancing performance in diverse scenarios.
Ground Balance Sophistication: While PI detectors are known for their robust performance in mineralized soil, sophisticated ground balancing algorithms within the circuit further refine their ability to ignore false signals caused by iron-rich soils or salt. This is a critical advancement for any PI circuit aiming for top performance.

These breakthroughs mean PI detectors are increasingly becoming the go-to choice for gold prospectors and beach hunters working in tough conditions.

Advancements in Very Low Frequency (VLF) Circuitry

Very Low Frequency (VLF) detectors are the most common type, operating at frequencies typically between 5 kHz and 30 kHz. Their strength lies in their superior ability to discriminate between different types of metals, making them excellent for coin and relic hunting in areas with a lot of trash. The “best metal detector circuit” in the VLF category has seen significant evolution, particularly in digital signal processing.

Multi-Frequency Capability: Historically, VLF detectors operated on a single frequency. The biggest breakthrough has been the development of multi-frequency VLF detectors. These devices can transmit and analyze signals at several frequencies simultaneously or switch between them rapidly. This allows them to detect a wider range of targets – higher frequencies for small, low-conductivity targets, and lower frequencies for larger, conductive targets – all with a single sweep.
Digital Signal Processing (DSP): Modern VLF circuits heavily rely on advanced DSP. This allows for incredibly fast and precise analysis of the signals returning from the coil. DSP enables sophisticated algorithms that can reduce noise, enhance target signals, and improve discrimination accuracy far beyond what analog circuits could achieve.
Enhanced Ground Balancing: Even in VLF detectors, sophisticated ground balancing algorithms are crucial. These circuits can automatically and rapidly adjust to changing ground mineralization, ensuring consistent depth and minimizing false signals. This is a testament to the evolving “best metal detector circuit” capabilities in VLF technology.
Target ID Accuracy: Through advanced processing, VLF circuits can now provide more accurate Target Identification (Target ID) numbers. These numbers help detectorists make informed decisions about whether to dig a target, saving time and effort.

These advancements have made VLF detectors more versatile and effective than ever before, bridging the gap between them and PI detectors in certain aspects.

The Role of Digital Signal Processing (DSP)

Digital Signal Processing (DSP) is arguably the most significant breakthrough in modern metal detector circuits. Where older detectors relied on analog components, which are prone to drift and noise, DSP uses microprocessors to analyze and manipulate signals with incredible speed and accuracy. This is the brain behind the “best metal detector circuit” in terms of raw performance and adaptability.

Noise Reduction: DSP algorithms can effectively filter out unwanted electromagnetic interference (EMI) from power lines, other detectors, and even the detector’s own internal components. This results in a cleaner signal and fewer false alerts.
Enhanced Sensitivity: By amplifying faint target signals and suppressing noise, DSP allows detectors to pick up targets at greater depths and those made of less conductive materials. This directly translates to finding more and potentially more valuable items.
Sophisticated Discrimination: DSP enables complex algorithms that can analyze the characteristics of a target’s signal (like its phase and amplitude response across different frequencies) to distinguish between desirable metals and trash with much higher precision than analog systems. This is a game-changer for relic and coin hunting.
Adaptive Performance: DSP allows detector circuits to adapt to changing conditions in real-time. This includes automatic ground balancing, automatic noise cancellation, and adjusting settings based on detected target types.

The integration of powerful DSP chips is what separates high-end detectors from their more basic counterparts. It’s the core of what makes a “best metal detector circuit” truly exceptional.

Understanding Ground Mineralization and its Circuitry Impact

Ground mineralization is the bane of many a detectorist’s existence. Soil contains naturally occurring minerals, often iron oxides, which can mimic the signals of buried metal objects. This causes false signals, reduces detector depth, and makes discrimination difficult. The “best metal detector circuit” must have robust solutions for dealing with this pervasive issue.

Ground Balancing: This is the primary method detectors use to counteract mineralization. The circuit “tunes” itself to the specific mineral content of the soil, effectively ignoring its signal. Automatic ground balancing systems within advanced circuits can perform this adjustment rapidly and continuously, adapting to changes as you move across different ground types.
Frequency Choice: As mentioned, lower frequencies are generally less affected by mineralization than higher frequencies. However, higher frequencies offer better sensitivity to small targets. The “best metal detector circuit” often allows for frequency adjustment or utilizes multi-frequency technology to offer a compromise or optimal solution for various mineralization levels.
PI Detectors: Pulse Induction detectors, by their nature, are less susceptible to mineralization than VLF detectors. Their circuits are designed to measure the decay of a magnetic pulse, and while strong mineralization can still affect them, they typically perform better in heavily mineralized areas.

A detector with a circuit adept at handling mineralization will provide a much more consistent and rewarding detecting experience, especially when hunting in areas known for their challenging soil composition.

The Evolution of Search Coils and Their Circuitry Integration

While the search coil is a physical component, its design and how it interacts with the detector’s circuit are critical. Advancements in coil technology are directly tied to the capabilities of the “best metal detector circuit” they are paired with. Modern coils are designed to work synergistically with sophisticated digital electronics.

DD (Double-D) Coils: These coils, with their two D-shaped windings, offer excellent depth and superior performance in mineralized ground compared to concentric coils. The circuitry in the detector is optimized to process the signals from the DD configuration, providing better target separation and ground handling.
Multi-Frequency Coils: Some detectors use coils that are designed to transmit and receive at multiple frequencies simultaneously. This is a key feature of multi-frequency machines, where the coil and the detector’s circuit work in tandem to analyze target responses across the entire spectrum.
Smaller and Larger Coils: The choice of coil size impacts performance. Smaller coils are more sensitive to tiny targets and better at separating closely spaced objects, while larger coils offer greater depth and wider coverage. The detector’s circuit needs to be able to adjust its gain and filtering to optimally utilize signals from coils of varying sizes and types.

The synergy between an advanced search coil and a capable “best metal detector circuit” is paramount for maximizing your chances of success in the field.

Innovations in User Interface and Control Circuits

Beyond the core detection technology, the circuitry that manages the user interface is also vital. A detector with the most advanced circuit in the world is useless if the user can’t effectively control it or understand the information it provides. The “best metal detector circuit” often includes intuitive and feature-rich control systems.

Digital Displays: Modern detectors feature clear, backlit LCD screens that display Target ID numbers, depth estimates, sensitivity levels, and battery status. The circuitry behind these displays ensures that information is presented clearly and quickly.
Programmable Settings: Advanced circuits allow for a wide range of adjustable settings, including sensitivity, discrimination levels, audio tones, notch filters, and ground balance. This level of customization empowers detectorists to tailor the machine to their specific needs and preferences.
Wireless Audio Systems: Many high-end detectors now offer built-in wireless modules, allowing for seamless connection to wireless headphones. This requires dedicated circuitry for signal transmission and reception, adding convenience without compromising audio quality.
Waterproof Design: The control boxes and coils on many modern detectors are fully waterproof. This requires robust circuit design and sealing to protect the sensitive electronics from water damage, opening up new hunting grounds like beaches and rivers.

These interface innovations make detectors more user-friendly and adaptable, enhancing the overall detecting experience and making it easier to leverage the power of the underlying “best metal detector circuit.”

Factors to Consider When Choosing a Detector Based on Circuit Design

When you’re ready to invest in a new metal detector, looking beyond the brand name and price tag to understand the underlying circuit design can lead to a much more satisfying purchase. The “best metal detector circuit” for you will depend heavily on your intended use and budget.

Target Application: Are you primarily hunting for coins and relics in parks, prospecting for gold in the wilderness, or searching for jewelry on the beach? Each application benefits from different circuit characteristics. For example, multi-frequency VLF detectors with excellent discrimination are great for trashy parks, while robust PI detectors excel in mineralized goldfields.
Ground Conditions: If you’ll be detecting in areas with high mineralization or saltwater, a PI detector or a multi-frequency VLF with advanced ground balancing will be crucial. A detector with a circuit that struggles with ground conditions will give you constant false signals and poor depth.
Ease of Use: For beginners, a detector with a simpler interface and effective automatic settings is often preferable. More experienced detectorists might prefer the flexibility and customization offered by advanced circuits that require more tuning. The “best metal detector circuit” is one you can effectively operate.
Budget: Generally, detectors with more advanced DSP, multi-frequency capabilities, and sophisticated analog components will come at a higher price point. However, even budget-friendly detectors can offer excellent performance if their circuit design is well-executed for their intended purpose.
* Research and Reviews: Look for reviews that specifically discuss the detector’s performance in different conditions and its ability to handle trash or mineralization. These reviews often provide insights into the effectiveness of the detector’s circuit.

By considering these factors, you can make an informed decision that aligns the “best metal detector circuit” technology with your personal detecting goals and environment.

Frequently Asked Questions About Metal Detector Circuits

What is the main difference between analog and digital metal detector circuits?

Analog circuits use components like resistors, capacitors, and transistors to process signals in a continuous manner. Digital circuits, on the other hand, use microprocessors and digital signal processing (DSP) to convert signals into numerical data, allowing for more complex analysis, noise reduction, and adaptive features.

How does a metal detector’s circuit affect its depth capabilities?

The circuit’s ability to amplify faint signals, filter out noise (especially from ground mineralization), and process target information accurately directly impacts depth. A more sophisticated circuit can detect weaker signals from deeper targets without being overwhelmed by interference.

Can I upgrade the circuit in my existing metal detector?

In most cases, upgrading the core circuit board of a metal detector is not feasible or cost-effective for the average user. Detector circuits are highly integrated and specific to the model. However, sometimes manufacturers release firmware updates that can improve performance, which is a form of software-based circuit enhancement.

What does “ground balance” do in a metal detector circuit?

Ground balancing is a function of the detector’s circuit that allows it to distinguish between the signal from a buried metal object and the signal from minerals in the soil. It “tunes out” the ground’s mineral signal, enabling the detector to achieve better depth and reduce false alerts.

Why do some metal detectors cost so much more than others?

The price difference often reflects the sophistication of the circuit design, the quality of components used, the inclusion of advanced features like multi-frequency operation and powerful DSP, and the research and development invested. A higher price typically indicates a more capable and versatile “best metal detector circuit.”

Is a higher operating frequency always better for finding gold?

Higher frequencies (e.g., 15 kHz and above) are generally better for detecting small, low-conductivity targets like gold nuggets because they are more sensitive to them. However, very high frequencies can be more prone to false signals from mineralized ground. PI detectors, regardless of frequency, are often preferred for gold prospecting due to their mineralization handling.

Conclusion: The Circuit is King

The quest for the “best metal detector circuit” is really about understanding the technology that empowers your treasure hunting adventures. From the fundamental components to the revolutionary impact of digital signal processing and multi-frequency capabilities, these circuits are constantly evolving. A superior circuit means greater sensitivity, more accurate discrimination, better depth, and a more enjoyable experience in the field. Whether you’re a seasoned relic hunter or just starting your journey into coin shooting, appreciating the intricate electronics at play will help you choose a detector that truly performs. Investing in a detector with a well-engineered circuit is investing in more finds and a more rewarding hobby.

Author

  • belayet hossain
    Belayet Hossain

    Belayet Hossain is a Tool Analyst and Workspace Optimization Expert with an MSc in Computer Science & Engineering. Augmented by certifications in AI Marketing & Business Strategist, he evaluates home office gear and industrial tools through a lens of technical efficiency and modern utility. Belayet identifies which tools offer true smart value and which are merely passing trends. Connect with Belayet Hossain on Facebook, Twitter, Linkedin, or read my complete biography.

Leave your thoughts here!Cancel reply

OMAIGA Steam Iron for Clothes
Don't Miss Latest Updates

Subscribe to Updates

Get the latest blogs, updates, news and many more from ToolGuider.com!

loader

Email Address*

Don't Miss
Fitness Equipment

Best Walking Pads in 2026: Top Picks for Home and Office

Fitness Equipment Updated:November 11, 2026

Counterfeit Power Tool Battery Safety and Fire Risks

How to Spot Fake DeWalt Tools: Batteries, Housings, and Sellers

How to Spot a Fake Milwaukee Impact Driver Before You Buy

Counterfeit Power Tools: How to Spot Fake Cordless Tools Before You Buy

Workshop Organization Ideas: 11 Practical Ways to Organize Your Workshop

Recommended
Power tools

Counterfeit Power Tool Battery Safety and Fire Risks

Power tools
Power tools

How to Spot Fake DeWalt Tools: Batteries, Housings, and Sellers

Power tools
Power tools

How to Spot a Fake Milwaukee Impact Driver Before You Buy

Power tools
Power tools

Counterfeit Power Tools: How to Spot Fake Cordless Tools Before You Buy

Power tools Updated:November 7, 2026
Tool Storage

Workshop Organization Ideas: 11 Practical Ways to Organize Your Workshop

Tool Storage
Construction Safety

Anti-Vibration Gloves for Power Tools: What They Can and Cannot Do

Construction Safety
Power tools

NIOSH Buy Quiet for Power Tools: How to Compare Noise Levels

Power tools
Tool Storage

Magnetic Tool Holder Strips: How to Choose and Install Them Safely

Tool Storage Updated:November 1, 2026
Jump to
  • Other (2,856)
  • Tools Blogs Trending Now (4,536)
    • Air Conditioners (2)
    • Automotive (3)
      • Vehicle Codes & Driving Laws (1)
      • Vehicle Parts & Services (2)
        • Vehicle Parts & Accessories (2)
    • Baby & Childcare (15)
    • Business & Industrial (10)
      • Hospitality Industry (1)
        • Food Service (1)
      • Industrial Materials & Equipment (6)
        • Dust Collection (4)
      • Metals & Mining (1)
      • Shipping & Logistics (1)
        • Packaging (1)
    • Camping (1)
    • Car maintenance (1)
    • Cleaning (4)
      • Metal Cleaning (4)
    • Cleaning – del (829)
      • Metal Cleaning – del (829)
    • Construction & Building (24)
      • Construction Safety (3)
      • Construction Tools (5)
      • Electrical (1)
      • Masonry & Concrete (1)
    • Editors choice (7)
    • Food & Beverage (4)
      • Beverages (1)
      • Cooking & Recipes (1)
      • Cuisines (1)
    • Health & Fitness (2)
      • Fitness Equipment (1)
    • Health And Household (6)
    • Hobbies & Collecting (3)
      • Coin Collecting (1)
      • Coin Roll Hunting (1)
      • Collectible Identification & Valuation (1)
    • Home & Garden (3,515)
      • Electrical (4)
      • Gardening (2)
      • Home decor (3,421)
        • Home office decor- del (3,410)
          • Corner Home Office Setup (1)
          • Desk Setup Inspiration (1)
          • Home Office Wellness (1)
          • Minimalist Desk Setup (5)
          • Minimalist Office Decor (1)
          • Modern Home Office Ideas (1)
          • Office Accessories & Decor (5)
            • Chairs (2)
            • Desk (2)
            • Floating Shelves (1)
          • Small Home Office Ideas (2)
          • Tech & Gadget Setup Ideas (1)
          • Under $100 Home Office Setup (1)
      • Home improvement (36)
        • Construction & Power Tools (2)
        • House Painting & Finishing (3)
        • Kitchen Renovation (3)
      • Household Supplies (2)
        • Laundry (2)
      • HVAC & Climate Control (5)
      • Kitchen & Dining (37)
        • Cookware & Diningware (3)
        • Drinkware & Teaware (1)
        • Kitchen Cleaning & Maintenance (3)
          • Dishwashing & Cleaning (3)
        • Kitchen Tools (24)
          • Bowls & Dishes (10)
            • Wooden Bowls (10)
          • Cutting Boards (8)
        • Storage & Shelving (1)
          • Cabinetry (1)
        • Tea & Coffee (9)
          • Brewing Techniques (2)
          • Teaware (8)
            • Teapots (8)
              • Japanese Teapots (3)
      • Lawn & Yard (1)
      • Pest Control (1)
    • Hunting (2)
    • Industrial And Scientific (24)
    • Metal detecting (29)
      • Accessories (1)
      • Finds (2)
      • Gold Prospecting (1)
      • Metal Detectors (6)
      • Reviews & Buying Guides (7)
      • Techniques (2)
    • Outdoor & Recreation (4)
    • Power & Hand Tools (22)
      • Power tools (19)
      • Tool Storage (3)
    • Power Energy (5)
    • Resources (3)
    • Reviews (13)
      • Home Tools (1)
      • Tools & Devices (5)
    • Science (1)
      • Biological Sciences (1)
        • Genetics (1)
    • Shopping (3)
      • Antiques & Collectibles (3)
    • Tools Tips (12)
Stay In Touch
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • Vimeo
Recommended
Latest updates
  • Best Walking Pads in 2026: Top Picks for Home and Office
  • Counterfeit Power Tool Battery Safety and Fire Risks
  • How to Spot Fake DeWalt Tools: Batteries, Housings, and Sellers
  • How to Spot a Fake Milwaukee Impact Driver Before You Buy
  • Counterfeit Power Tools: How to Spot Fake Cordless Tools Before You Buy
  • Workshop Organization Ideas: 11 Practical Ways to Organize Your Workshop
  • Anti-Vibration Gloves for Power Tools: What They Can and Cannot Do
  • NIOSH Buy Quiet for Power Tools: How to Compare Noise Levels
  • Magnetic Tool Holder Strips: How to Choose and Install Them Safely
  • Best Tool Chests for Home Shop: How to Choose the Right Storage
Metal Cleaning - del

How To Care For Pearls: Essential, Stunning Tips

Small Office Den Ideas: Essential, Genius Spaces

Home Office Wall Paint Ideas: Genius, Essential Colors

Best Office Chairs For Posture And Back Pain: Ultimate Relief

High End Home Office Layout Ideas: Essential Genius

Home improvement

uPVC Windows and Doors: Homeowner’s Buying Guide

How to Install Tilt and Turn PVC Windows: A Practical Step‑by‑Step Guide

EV Charger Installation: 7 Key Factors Homeowners Overlook

Maximising Boiler Value: Leeds Homeowners’ Guide to Comparing Boiler Quotes

DIY Tips: The Best Applicator for Varnish on Large Surfaces

Subscribe to Updates

Get the latest Blogs, Updates, News from ToolGuider.com.

loader

Email Address*

Facebook X (Twitter) Pinterest
  • About us
  • Latest Tools Blogs
  • Disclaimer
  • Privacy Policy
  • Write for us
  • Contact us
  • Sitemap
© 2026 Designed by Belayet Hossain.

Type above and press Enter to search. Press Esc to cancel.