If you have finished paying off your mortgage, you may assume there is nothing left to do.
In Spain, however, repaying a mortgage and cancelling a mortgage are two entirely different legal steps. Although the loan may have been settled years ago, the mortgage can still remain registered against your property at the Spanish Land Registry (Registro de la Propiedad) until it is formally cancelled.
Many property owners in Benissa only discover this when they decide to sell. Their buyer's lawyer obtains a Nota Simple, sees a registered mortgage and requests evidence that it has been discharged. Although the debt may no longer exist, additional legal work is often required before the transaction can proceed smoothly.
This situation is common throughout the Costa Blanca North, particularly among overseas owners who purchased holiday homes many years ago. Whether you own a villa in La Fustera, an apartment on Benissa Costa, a home in San Jaime, a finca in Benimarco, or a countryside property in Pedramala, understanding how mortgage cancellation works can help you avoid unnecessary delays, unexpected costs and last-minute stress.
Quick Answer
Mortgage cancellation in Benissa is the legal process of removing a repaid mortgage from the Spanish Land Registry. Paying off the loan does not automatically remove the registered charge. A formal cancellation deed must usually be signed before a Spanish notary and registered so the property's legal record accurately reflects that the mortgage has been discharged.
In this guide you'll learn:
Mortgage cancellation is the legal procedure used to remove a mortgage that has already been repaid from the Spanish Land Registry.
Many owners understandably believe that making the final mortgage payment automatically clears the property's legal record. In reality, these are two separate processes.
The financial relationship between you and the bank may have ended, but the legal mortgage registration often remains until it is formally cancelled.
This distinction becomes particularly important whenever ownership of the property changes or a lender needs to verify its legal status.
Although the terms are often confused, they refer to different legal stages.
| Mortgage Repayment | Mortgage Cancellation |
|---|---|
| Loan has been paid in full | Registered mortgage is removed |
| Debt to the bank ends | Land Registry record is updated |
| Financial obligation finishes | Legal registration is cancelled |
| Bank confirms repayment | Notarial deed is executed |
| Mortgage may still appear on the Nota Simple | Property title accurately reflects that the mortgage has ended |
The simplest way to understand the difference is this:
Repayment settles your debt.
Cancellation updates the public legal record.
Until both have taken place, the mortgage may still appear on the property's Land Registry entry.
One of the biggest misunderstandings among property owners is the difference between the financial and legal aspects of a mortgage.
This occurs when:
From the bank's perspective, the mortgage has ended.
This is a separate legal process.
It removes the mortgage from the Land Registry so that future buyers, lenders and lawyers can clearly see that no mortgage charge remains registered against the property.
Without this step, the mortgage may continue to appear on the Nota Simple for many years.
Imagine you purchased a villa in San Jaime in 2009.
You fully repaid your mortgage in 2023.
Three years later you decide to sell.
The buyer's solicitor orders a Nota Simple and notices a registered mortgage.
Although your bank confirms that nothing is owed, the mortgage must still be cancelled through the appropriate legal procedure before the Land Registry accurately reflects the property's status.
Had the cancellation been arranged earlier, the transaction would almost certainly progress more smoothly.
Important
Completing your final mortgage payment does not automatically remove the mortgage from the Spanish Land Registry.
The Spanish Land Registry records legal rights affecting a property.
A registered mortgage is one of those legal rights.
Once registered, it remains on the property's record until it is formally cancelled or removed under the applicable legal procedures.
This system protects buyers, lenders and property owners by ensuring that the legal history of the property is transparent.
Whenever a property is sold in Spain, the buyer's lawyer will usually obtain a Nota Simple.
This document summarises key legal information, including:
The Nota Simple is one of the first documents reviewed during the conveyancing process.
If a mortgage still appears, further enquiries will usually follow.
A purchaser wants reassurance that they are buying a property with a clear legal title.
If the buyer requires mortgage finance, the lender will also want confirmation that previous registered charges have been properly dealt with.
Lawyers typically verify:
Resolving these questions early helps reduce the likelihood of delays once contracts have been agreed.
Expert Tip
If you are considering selling your property within the next 12 months, obtain an up-to-date Nota Simple before placing it on the market. Identifying any outstanding registry issues early gives you time to resolve them without delaying a future sale.
Although mortgage cancellation is not always immediately necessary after repayment, there are several situations where completing the process is strongly recommended.
This is by far the most common scenario.
One of the first legal checks carried out before marketing a property is reviewing the Land Registry.
Finding an old registered mortgage at this stage is not unusual.
Preparing the cancellation before accepting an offer usually reduces stress later in the transaction.
If a mortgage remains registered:
Although many sales complete successfully with simultaneous mortgage cancellation, dealing with the issue beforehand generally makes the process more efficient.
A Dutch family owns a holiday villa in La Fustera.
Their mortgage was repaid six years ago.
When they accept an offer from a Belgian buyer, the purchaser's lawyer discovers the mortgage still appears on the Land Registry.
The transaction proceeds successfully, but several weeks are spent obtaining historic bank documentation that could have been arranged before the property was marketed.
Common Mistake
Waiting until a buyer has been found before checking whether an old mortgage still appears on the property's Land Registry record.
Some homeowners replace an existing mortgage with a new one.
This may be because:
The new lender will carry out its own legal due diligence.
Depending on the transaction, the existing mortgage may need to be cancelled before or at the same time as the new mortgage is registered.
Mortgage cancellation frequently arises during inheritance procedures.
A deceased owner may have repaid the mortgage many years earlier without completing the legal cancellation.
When heirs inherit the property, the mortgage can still appear on the Land Registry even though no debt remains.
Before the inherited property is sold or refinanced, the legal records may need to be updated.
As inheritance law and taxation vary according to individual circumstances, professional legal advice should always be obtained.
The answer depends on your circumstances.
| Situation | Is Cancellation Advisable? |
|---|---|
| Keeping the property long-term | Optional but recommended |
| Selling the property | Strongly recommended |
| Refinancing | Usually required |
| Inheritance | Frequently advisable |
| Applying for a new mortgage | Often necessary |
There is generally no obligation to cancel a mortgage immediately after repayment if you intend to keep the property indefinitely.
However, postponing the process often creates additional work later, especially if documents are lost or the original lender has merged with another bank.
Not every property is mortgage-free when it is sold.
Many homeowners sell while there is still an outstanding balance.
In these cases, the process is different from cancelling an already repaid mortgage.
Typically:
This simultaneous repayment and cancellation process is standard practice in Spain and is routinely coordinated by lawyers, banks and notaries.
Many property owners in Benissa live overseas and only visit Spain occasionally.
If you are a non-resident, you generally follow the same legal procedure as Spanish residents.
However, many overseas owners choose to appoint a solicitor under a Power of Attorney, allowing the representative to:
This approach is particularly common among owners living in the United Kingdom, the Netherlands, Belgium, Germany and other countries whose properties are used as holiday homes.
Did You Know?
Many successful property sales begin months before the home is listed. Ensuring your mortgage has been properly cancelled is one of the simplest ways to reduce the risk of delays once a buyer is found.
Although every transaction is unique, the legal process for mortgage cancellation in Benissa generally follows the same sequence throughout Spain.
Understanding each stage allows property owners to prepare the required documentation, avoid unnecessary delays and make informed decisions before placing their property on the market.
| Step | What Happens | Main Party Involved |
|---|---|---|
| 1 | Obtain mortgage repayment certificate | Bank |
| 2 | Prepare cancellation deed | Notary & Bank |
| 3 | Sign the deed | Bank representative and/or authorised parties |
| 4 | Register the cancellation | Land Registry |
| 5 | Obtain updated Nota Simple | Property owner or lawyer |
Quick Summary
A mortgage is only fully cancelled once the cancellation deed has been registered with the Spanish Land Registry. Paying off the loan alone is not enough.
The first stage is confirming that the mortgage has been repaid in full.
The lender issues a document confirming there is no outstanding debt. This is commonly referred to as:
This certificate confirms that:
Most banks issue this document relatively quickly, although older mortgages or archived records may take longer to retrieve.
Spain has experienced significant banking consolidation over the last two decades.
Many mortgages originally issued by smaller savings banks are now administered by larger banking groups.
If your original lender no longer exists, its successor institution will normally hold the mortgage records.
This is one reason why starting the process early is advisable.
Once repayment has been confirmed, a Deed of Mortgage Cancellation (Escritura de Cancelación de Hipoteca) is prepared.
This public document formally records that the lender consents to removing the mortgage from the Land Registry.
The notary prepares the deed using information provided by:
The documentation is checked to ensure that the mortgage being cancelled exactly matches the mortgage registered against the property.
The cancellation deed must normally be signed before a Spanish notary.
Depending on the circumstances, this may involve:
Many overseas owners never need to travel to Spain if a properly executed Power of Attorney is already in place.
The notary verifies:
Once signed, the deed becomes the legal instrument allowing the cancellation to proceed.
Signing the deed is not the final step.
The cancellation must also be registered with the Registro de la Propiedad (Land Registry).
Registration generally involves:
Only after registration has been completed will the mortgage disappear from the property's official Land Registry entry.
Although optional, requesting an updated Nota Simple afterwards is highly recommended.
It confirms that:
This provides valuable peace of mind, particularly if you plan to sell your property within the next few years.
Mortgage Repaid
│
▼
Certificate of Zero Debt
│
▼
Mortgage Cancellation Deed
│
▼
Spanish Notary
│
▼
Land Registry
│
▼
Updated Registry Record
│
▼
New Nota Simple
Expert Tip
Don't wait until your property is under offer. Beginning the mortgage cancellation process several months before marketing your property gives you more time to resolve any unexpected administrative issues.
Preparing the correct documentation early can significantly reduce delays.
Although individual circumstances vary, the following documents are commonly required.
| Document | Usually Required | Purpose |
|---|---|---|
| Property title deed (Escritura) | ✓ | Identifies the property |
| Mortgage repayment certificate | ✓ | Confirms there is no outstanding debt |
| Passport or national ID | ✓ | Identification |
| NIE certificate (where applicable) | Usually | Identifies foreign owners |
| Original mortgage deed | Recommended | Confirms mortgage details |
| Latest Nota Simple | Recommended | Shows current registry status |
| Power of Attorney | If applicable | Allows a representative to act |
| Bank correspondence | Sometimes | Useful for older mortgages |
Before contacting your lawyer or notary, ensure you have:
☐ Confirmed the mortgage has been fully repaid.
☐ Requested an up-to-date Nota Simple.
☐ Located your title deeds.
☐ Gathered identification documents.
☐ Found any previous mortgage paperwork.
☐ Decided whether someone will act under a Power of Attorney.
Important
Don't worry if your mortgage was repaid many years ago and some documents have been misplaced. Experienced lawyers can often obtain replacement documentation from the lender or the relevant public authority.
There is no fixed national price for cancelling a mortgage.
The total depends on:
The figures below are illustrative only and should not be treated as quotations.
| Expense | Typical Range* |
|---|---|
| Mortgage repayment certificate | Often free (administrative charges may apply in some cases) |
| Notary fees | Approximately €90–€250 |
| Land Registry fees | Approximately €50–€150 |
| Gestoría fees | Approximately €150–€400 |
| Solicitor fees | Varies according to the work involved |
*Indicative ranges only. Actual costs vary according to the individual transaction.
| Fee | Charged By |
|---|---|
| Repayment certificate | Bank |
| Cancellation deed | Notary |
| Registration | Land Registry |
| Administration | Gestor (if appointed) |
| Legal advice | Solicitor (if instructed) |
Many lenders issue the repayment certificate free of charge.
However, some institutions may charge reasonable administrative fees where archived files or historic records need to be retrieved.
Always request confirmation of any proposed charges in advance.
Spanish notarial fees are regulated rather than freely negotiated.
The amount payable depends largely on the value and complexity of the transaction.
The Land Registry charges for updating the property's official legal record.
Until registration has been completed, the mortgage will normally continue to appear on the registry.
Many overseas owners appoint a gestor or solicitor to manage the process.
Professional assistance may include:
Although this increases the overall cost, it often saves considerable time—particularly for owners who do not live in Spain.
Expert Recommendation
If you intend to sell your property soon, prioritise efficiency over choosing the lowest-cost option. Delays in a property transaction can often cost far more than professional fees.
The timeframe varies depending on:
Simple cases can progress relatively quickly, while older mortgages may require additional investigation.
| Stage | Typical Time |
|---|---|
| Repayment certificate | Several days to a few weeks |
| Preparation of deed | A few days |
| Notary appointment | Usually within days, subject to availability |
| Land Registry registration | Several weeks |
| Overall process | Often around 3–8 weeks, although complex cases may take longer |
| Situation | Typical Duration |
|---|---|
| Recently repaid mortgage with complete documentation | Around 3–4 weeks |
| Average transaction | Around 5–8 weeks |
| Historic mortgage with missing documentation or bank merger | Several months in some cases |
These are general estimates only. Individual circumstances vary.
Mortgages repaid decades ago may require archived documentation.
Replacing lost paperwork inevitably extends the process.
Locating historic records from merged banks can take additional time.
Processing times fluctuate depending on workload.
Administrative procedures may take longer during August, Christmas and other holiday periods.
Owners planning to market a property in spring or early summer should ideally begin preparations several months beforehand.
Mortgage Repaid
│
▼
Request Repayment Certificate
│
▼
Prepare Cancellation Deed
│
▼
Notary Appointment
│
▼
Land Registry Registration
│
▼
Updated Nota Simple
Yes.
This is common in Spain.
However, understanding the difference between selling with an outstanding mortgage and selling after a repaid mortgage has not yet been cancelled is important.
If the mortgage has already been paid off but still appears on the Land Registry:
Preparing the paperwork in advance generally reduces pressure on all parties.
If money is still owed to the bank:
This is standard practice in Spain and is routinely handled by lawyers, lenders and notaries.
Buyers usually want confidence that they will receive a property with a clear legal title.
If they require mortgage finance, their lender will almost certainly verify that any previous mortgage has been properly dealt with before funds are released.
Waiting until a buyer has been found can lead to:
Warning
One of the easiest ways to avoid delays when selling a property in Benissa is to review the Land Registry record before marketing begins. Discovering an old registered mortgage early gives you time to resolve the issue without affecting the agreed completion timetable.
Older mortgages are particularly common in Benissa and across the Costa Blanca North. Many international buyers purchased holiday homes in the late 1990s and early 2000s, repaid their mortgages years later, but never completed the final legal cancellation.
Discovering a decades-old mortgage on the Land Registry is therefore not unusual.
Fortunately, most cases can be resolved, although older files often require additional preparation.
A mortgage that was repaid 10, 20 or even 30 years ago can still appear on the property's Land Registry entry.
This does not necessarily mean money is still owed.
It usually means the legal cancellation was never registered.
In these situations, your lawyer or gestor will normally:
Older mortgages can take longer simply because records may need to be retrieved from archives.
Spain's banking sector has changed significantly over the past two decades.
Many regional savings banks and smaller lenders have merged into larger banking groups.
If your mortgage was originally issued by a bank that no longer exists, the legal rights and records have usually transferred to its successor.
Although this rarely prevents cancellation, identifying the correct institution and obtaining historic documentation may take additional time.
This is another reason why sellers should begin preparing well before marketing their property.
Spanish law provides mechanisms under which certain mortgage rights may cease to be enforceable after specific legal time limits have passed, provided all statutory conditions have been met.
However, this often causes confusion.
There is an important distinction between:
These are not always the same thing.
Even if an old mortgage may no longer be enforceable under the applicable legal rules, it can still appear on the property's Land Registry record until the appropriate legal procedure has been completed.
For that reason, lawyers generally recommend arranging a formal cancellation whenever possible, particularly if the property is likely to be sold, inherited or refinanced.
Because the applicable legal provisions depend on individual circumstances and legislation may change, owners should always seek advice from a qualified Spanish lawyer or notary before relying on prescription or automatic cancellation.
Did You Know?
Some owners only discover a mortgage registered in the early 2000s when they decide to sell their villa in Buenavista, Fanadix or Pedramala. A simple check of the property's Nota Simple can identify these issues long before a buyer becomes involved.
Mortgage cancellation is rarely complicated, but several common mistakes regularly cause unnecessary delays.
Understanding these pitfalls allows you to prepare your property more effectively before selling.
The most common misconception is believing that the mortgage disappears automatically once the final repayment has been made.
As explained earlier, repayment settles the financial debt.
It does not automatically remove the mortgage from the Land Registry.
Many sellers only review their legal documentation after finding a buyer.
By then:
Reviewing the property's legal position before marketing almost always makes the process smoother.
Owners who have held their property for many years sometimes misplace:
Although replacement documents can often be obtained, locating them inevitably takes time.
Keeping digital copies alongside the originals is good practice.
The Nota Simple is one of the easiest ways to identify potential legal issues before selling.
It confirms:
Ordering an updated copy before listing your property provides valuable reassurance.
Mortgage cancellation involves several independent organisations.
These may include:
Even when everyone acts promptly, the process cannot be completed instantly.
Starting early provides flexibility if unexpected issues arise.
Some owners budget only for bank-related costs.
However, mortgage cancellation may also involve:
Understanding the likely overall cost from the outset helps avoid surprises.
Although simultaneous cancellation at completion is common, leaving every administrative step until contracts have been agreed increases the likelihood of delays.
Preparing several months in advance is usually the most efficient approach.
Warning
The easiest mortgage cancellation is the one completed before your property goes on the market.
Use this checklist before marketing your property.
☐ Verify the mortgage has been fully repaid.
☐ Obtain a recent Nota Simple.
☐ Confirm whether the mortgage still appears on the Land Registry.
☐ Property title deed.
☐ Identification documents.
☐ Mortgage deed (if available).
☐ Repayment certificate.
☐ Previous correspondence from the lender.
☐ Power of Attorney (if someone will act on your behalf).
☐ Contact the lender.
☐ Obtain the Certificate of Zero Debt.
☐ Arrange preparation of the cancellation deed.
☐ Attend the notary (or authorise your representative).
☐ Submit documentation to the Land Registry.
☐ Obtain confirmation that registration has been completed.
☐ Request an updated Nota Simple.
☐ Keep copies of all documents for future reference.
Expert Tip
Completing this checklist before your property is advertised can prevent avoidable delays once a buyer has been found.
Some owners choose to complete the mortgage cancellation process themselves, while others appoint a lawyer or gestor.
The right option depends on your circumstances.
| DIY Approach | Professional Assistance |
|---|---|
| Lower professional costs | Less administration for the owner |
| Suitable for straightforward cases | Helpful for older or more complex mortgages |
| Requires dealing directly with the bank, notary and Registry | Professional coordinates the entire process |
| May require good knowledge of Spanish procedures | Often easier for overseas owners |
| Can take longer if documentation is missing | Experienced professionals can usually resolve issues more efficiently |
For many non-resident owners, appointing a trusted solicitor or gestor is often the most practical solution.
Understanding each party's role helps clarify the process.
| Party | Main Responsibility |
|---|---|
| Property owner | Provides documentation and authorisations |
| Bank | Confirms repayment and authorises cancellation |
| Notary | Prepares and executes the cancellation deed |
| Land Registry | Removes the registered mortgage |
| Gestor (if appointed) | Coordinates administration |
| Solicitor (if instructed) | Provides legal advice and manages the process |
Preparing a property for sale involves far more than setting an asking price.
One of the first recommendations we make to sellers is to ensure that their legal documentation is up to date before the property is marketed.
From experience, issues such as an outstanding registered mortgage, an expired occupancy licence or missing documentation are much easier to resolve before a buyer becomes involved than during the final stages of a transaction.
For owners selling properties in:
early preparation often results in a smoother conveyancing process.
While Telio Homes does not provide legal advice, we regularly assist property owners by:
Many overseas clients only visit Spain a few times each year.
By reviewing the legal position well in advance, they can often complete much of the necessary preparation before a buyer is even found.
Did You Know?
Some of the smoothest property transactions begin with a simple legal review months before the property is listed. Identifying issues early gives owners more time, more options and greater confidence throughout the selling process.
Mortgage cancellation is the legal process of removing a repaid mortgage from the Spanish Land Registry. It is separate from repaying the loan itself. Until the cancellation has been registered, the mortgage may continue to appear on the property's official Land Registry record.
No.
Repaying your mortgage settles the debt with the lender, but it does not automatically remove the registered mortgage from the Land Registry. A formal cancellation procedure is usually required.
Yes, in many straightforward cases you can manage the process yourself.
However, many property owners—particularly non-residents—prefer to appoint a solicitor or gestor to coordinate the lender, notary and Land Registry, reducing the administrative burden and helping to avoid delays.
The total cost depends on several factors, including the original mortgage amount, notary fees, Land Registry fees and whether you appoint a gestor or solicitor.
Because every transaction is different, it is advisable to request an estimate before beginning the process.
Straightforward cases are often completed within three to eight weeks, although older mortgages, missing documents or bank mergers can extend the process.
Starting well before you plan to sell your property is always recommended.
Yes.
If the mortgage has already been repaid, cancellation can often be completed before or alongside the sale.
If there is still an outstanding mortgage balance, it is common practice for the mortgage to be redeemed from the sale proceeds on completion, after which the cancellation is registered.
In most cases, the property owner arranging the cancellation is responsible for the associated costs.
However, each transaction is different and the parties may agree alternative arrangements during the sale.
A lawyer is not legally required for every mortgage cancellation.
Nevertheless, many owners find professional assistance worthwhile, particularly if:
Spain has experienced many banking mergers over recent decades.
If your original lender has merged or changed its name, the successor institution usually holds the relevant mortgage records and can provide the documentation required for cancellation.
The buyer's lawyer will normally obtain an updated Nota Simple from the Spanish Land Registry.
If the cancellation has been completed correctly, the mortgage will no longer appear as a registered charge.
Mortgage cancellation itself is primarily a legal registration procedure rather than a tax event.
However, legislation and tax rules can change, and individual circumstances vary. If you have questions about your own tax position, seek advice from a qualified Spanish tax adviser.
Spanish law includes provisions relating to very old mortgage registrations in certain circumstances.
However, this should not be confused with the formal removal of the mortgage from the Land Registry. Professional legal advice should always be obtained before relying on any automatic legal time limits.
The Mortgage Cancellation Deed (Escritura de Cancelación de Hipoteca) is the public document signed before a Spanish notary confirming that the lender agrees to remove the mortgage from the Land Registry.
Yes.
Many overseas owners appoint a lawyer under a Power of Attorney, allowing the process to be completed without travelling to Spain.
Lost documents do not necessarily prevent mortgage cancellation.
Depending on the circumstances, your solicitor, gestor or lender may be able to obtain replacement documentation or certified copies.
It can certainly help.
Having an up-to-date Land Registry record demonstrates that your property's legal documentation is in order and reduces the likelihood of delays during the buyer's legal checks.
Yes.
This is common practice in Spain.
The cancellation can often be coordinated alongside completion provided all parties—including the lender, notary and lawyers—have prepared the necessary documentation in advance.
Yes.
The legal procedure is generally the same regardless of nationality.
The main difference is that overseas owners often appoint a representative through a Power of Attorney to avoid travelling to Spain for administrative appointments.
The legal cancellation procedure is broadly the same.
However, older rural properties sometimes involve historic mortgages, archived documentation or lenders that have since merged, making early preparation particularly worthwhile.
Yes.
Although Telio Homes does not provide legal advice, we regularly help property owners identify potential documentation issues before marketing begins and can recommend experienced local professionals who can assist with mortgage cancellation and other legal procedures.
Mortgage cancellation is one of those administrative tasks that many property owners never think about until they decide to sell.
Yet it can have a significant impact on how smoothly a property transaction progresses.
The most important point to remember is that repaying a mortgage and cancelling a mortgage are two separate legal steps.
Even if your loan was settled many years ago, the mortgage may still appear on the Spanish Land Registry until the appropriate legal procedure has been completed.
Fortunately, mortgage cancellation is usually straightforward when dealt with in good time.
By checking your Nota Simple, gathering the necessary documentation and beginning the process well before your property goes on the market, you can reduce the likelihood of delays and give buyers greater confidence in your property's legal status.
Whether you own an apartment on Benissa Costa, a villa in La Fustera, a family home in San Jaime or a finca in Benimarco, taking the time to review your legal documentation before selling is one of the simplest ways to prepare for a successful transaction.
As with all legal matters in Spain, legislation, administrative procedures and individual circumstances may change. If you are uncertain about your situation, seek advice from a qualified Spanish lawyer or notary before taking action.
If you're thinking about selling your property and you're unsure whether your mortgage has been properly cancelled, it's worth checking before your home goes on the market.
At Telio Homes, we help property owners prepare for a smooth sale by identifying potential documentation issues early, coordinating with trusted local professionals and guiding both resident and international owners through every stage of the selling process.
A little preparation before marketing your property can often save weeks of unnecessary delays later.
If you're planning to sell in Benissa or the surrounding Costa Blanca North, we're happy to help you understand the next steps and point you towards the right professional advice where needed.