Estimate your Workers' Compensation Settlement Value
WC Settlement Calculator
Your average earnings before your injury, typically over 13 weeks.
Medical professional's assessment of your permanent functional loss.
The percentage of whole-person impairment recognized by the state/insurer.
Number of weeks you'll receive disability benefits based on impairment.
Percentage of settlement paid to your attorney (if applicable).
Any outstanding medical bills or other approved costs.
Estimated Settlement Value
—
Total Value of Benefits:—
Estimated Net Settlement (Before Fees):—
Legal Fees:—
Estimated Final Payout:—
Formula Used:
Basic Settlement Value = (AWW * 0.6667) * Weeks of Benefits * Permanent Disability Percentage
Total Value of Benefits = Basic Settlement Value + Other Associated Costs
Estimated Net Settlement = Total Value of Benefits
Legal Fees = Estimated Net Settlement * (Legal Fees Percentage / 100)
Estimated Final Payout = Estimated Net Settlement – Legal Fees
Breakdown of Settlement Components
Estimated Benefit Breakdown Over Time
Benefit Period (Weeks)
Estimated Benefit Value
Cumulative Value
What is a WC Settlement Calculator?
A WC settlement calculator, or Workers' Compensation settlement calculator, is an online tool designed to help individuals estimate the potential value of their workers' compensation claim settlement. When an employee suffers a work-related injury or illness, they are typically entitled to workers' compensation benefits. These benefits can include medical treatment, temporary disability payments, and potentially permanent disability compensation. A settlement is a lump-sum payment that resolves all future claims related to the injury. This WC settlement calculator provides a preliminary financial projection based on key factors of the claim. It's crucial to understand that this is an estimation tool, not a guarantee, and actual settlement amounts can vary significantly due to legal negotiations, specific state laws, and the unique details of each case.
Who should use it: Anyone who has sustained a work-related injury or developed an occupational illness and is considering or has been offered a settlement for their workers' compensation claim. This includes injured workers, their families, and potentially legal representatives seeking a quick valuation.
Common misconceptions: Many believe a settlement is simply the sum of their missed wages. However, a WC settlement calculator accounts for permanent disability, future medical needs, and potential legal costs, making the valuation more complex. Another misconception is that the initial offer from an insurance company is fair; it's often a starting point for negotiation. This WC settlement calculator aims to provide a more objective baseline.
WC Settlement Calculator Formula and Mathematical Explanation
The core of a WC settlement calculator relies on several key variables to estimate the potential value of a claim. While specific formulas can vary slightly by state and insurer practices, a common approach incorporates the worker's average weekly wage, the degree of permanent disability, and the duration of anticipated benefits. Below is a breakdown of the typical calculation:
Step-by-step derivation:
Calculate the value of permanent disability benefits: This is often based on a percentage of the worker's average weekly wage (AWW) multiplied by a statutory factor representing two-thirds (approximately 66.67%) of the wage, then multiplied by the number of weeks attributed to the permanent disability.
Determine the total benefit period: This is the number of weeks the worker is expected to receive benefits, influenced by the permanent disability rating.
Calculate the total value of scheduled benefits: Multiply the weekly benefit amount (AWW * 0.6667, adjusted by disability percentage) by the total benefit period.
Incorporate other costs: Add any outstanding medical bills, future medical treatment costs, and other expenses directly related to the injury.
Calculate Gross Settlement Value: Sum the total value of scheduled benefits and other associated costs.
Account for Legal Fees and Costs: Subtract attorney fees, which are typically a percentage of the settlement amount, and any other legal expenses.
Determine Net Settlement Payout: The final estimated amount the injured worker receives after all deductions.
Variables Table:
Variable Name
Meaning
Unit
Typical Range
Average Weekly Wage (AWW)
The worker's average earnings over a specified period before the injury.
Currency per Week
$400 – $2000+
Impairment Rating
Medical assessment of permanent functional loss due to the injury.
Percentage (%)
0% – 100% (often capped at specific levels)
Permanent Disability Percentage
The official classification of the worker's permanent disability.
Percentage (%)
0% – 100%
Weeks of Benefits
The duration for which disability benefits are payable, often tied to impairment.
Weeks
Variable (e.g., 100 – 500+)
Legal Fees Percentage
The percentage of the settlement paid to the attorney.
Percentage (%)
15% – 33% (State-dependent)
Other Associated Costs
Medical bills, future treatment, etc.
Currency
Variable ($0 – $100,000+)
Practical Examples (Real-World Use Cases)
Let's explore how the WC settlement calculator can be used with realistic scenarios:
Example 1: Moderate Back Injury
Scenario: Sarah, a warehouse worker, suffered a back injury lifting heavy boxes. Her average weekly wage (AWW) is $900. A doctor has assigned a permanent impairment rating of 10%, which translates to a 10% permanent disability. Her state's guidelines suggest benefits are payable for 300 weeks based on this disability. She anticipates $3,000 in outstanding medical bills. Her attorney works on a 25% contingency fee.
Total Value of Benefits: $180,000 + $3,000 (medical bills) = $183,000
Legal Fees: $183,000 * 0.25 = $45,750
Estimated Final Payout: $183,000 – $45,750 = $137,250
Financial Interpretation: Sarah's estimated settlement, after legal fees and accounting for her medical bills, is approximately $137,250. This figure helps her understand the potential value of her claim and negotiate effectively with the insurance company.
Example 2: Minor Hand Injury with Long-Term Effects
Scenario: Mark, an office administrator, sustained a hand injury in a minor car accident while on company business. His AWW is $700. The injury resulted in ongoing pain and reduced dexterity, rated at a 5% permanent impairment, leading to a 5% permanent disability. Benefits are estimated for 150 weeks. He has $1,500 in uncovered co-pays. His lawyer charges 30%.
Total Value of Benefits: $70,050 + $1,500 (co-pays) = $71,550
Legal Fees: $71,550 * 0.30 = $21,465
Estimated Final Payout: $71,550 – $21,465 = $50,085
Financial Interpretation: Mark's projected settlement payout is around $50,085. This estimate highlights the importance of considering even seemingly minor permanent impairments, as they can significantly impact the overall value of a workers' compensation claim. This tool provides a solid basis for his discussions with his legal counsel.
How to Use This WC Settlement Calculator
Using our WC settlement calculator is straightforward. Follow these steps to get a preliminary estimate of your workers' compensation settlement value:
Gather Your Information: Before you start, collect necessary documents and information related to your claim. This includes proof of your average weekly wage (pay stubs, W-2s), any medical reports detailing your impairment rating and permanent disability percentage, and information on the anticipated duration of benefits. Also, note down any outstanding medical bills or other related costs.
Input Your Average Weekly Wage (AWW): Enter your average weekly earnings before your injury. This is a foundational number for calculating benefits.
Enter Impairment and Disability Percentages: Input the impairment rating from your doctor and the corresponding permanent disability percentage assigned by the state or insurer.
Specify Weeks of Benefits: Enter the total number of weeks you are expected to receive disability payments based on your permanent disability rating and state guidelines.
Add Other Costs: Include any known medical expenses, future treatment estimates, or other related costs that should be part of the settlement.
Enter Legal Fees: If you have an attorney, input the percentage of the settlement they will receive as their fee.
Click "Calculate Settlement": Once all fields are populated, click the button. The calculator will process the data and display your estimated settlement components.
How to Interpret Results:
Total Value of Benefits: This is the gross amount before legal fees and costs, representing the overall value assigned to your claim.
Estimated Net Settlement: This is the settlement value before your attorney's fees are deducted.
Legal Fees: This shows the amount that will be paid to your attorney.
Estimated Final Payout: This is the most crucial number – the amount you can expect to receive in your bank account after all deductions.
Decision-Making Guidance: The results from this WC settlement calculator should be used as a guide. If the estimated payout seems too low compared to your needs or expectations, it may indicate a need for further negotiation, consultation with a legal expert, or a review of your claim's details. Conversely, if the offer you receive is close to or below the calculated estimate, it might be a reasonable starting point for acceptance, but always seek professional advice.
Key Factors That Affect WC Settlement Results
Several elements significantly influence the outcome of a workers' compensation settlement. Understanding these factors can help injured workers better assess their claim's value and prepare for negotiations.
Severity and Nature of the Injury: More severe injuries with longer recovery times and greater permanent impairment generally result in higher settlement values. This includes the type of injury (e.g., loss of limb vs. soft tissue damage) and the body part affected.
Average Weekly Wage (AWW): A higher AWW directly translates to higher weekly disability payments, thus increasing the total potential value of the claim and the settlement.
Permanent Disability Rating: This is arguably the most critical factor. A higher percentage of permanent disability, as determined by medical professionals and state guidelines, means a greater compensation entitlement. State-specific schedules often assign specific benefit amounts or durations to different disability percentages.
Jurisdiction and State Laws: Workers' compensation laws vary considerably from state to state. Each state has its own rules regarding benefit rates, maximum benefit durations, how impairment is rated, and allowable attorney fees. A state workers' comp laws guide can be invaluable here.
Future Medical Needs: The estimated cost of future medical treatment, rehabilitation, medication, and therapy related to the injury is a significant component of the settlement. If future care is substantial, it will increase the settlement value.
Legal Representation and Negotiation Skills: The presence and expertise of an attorney can dramatically impact the final settlement. Experienced lawyers understand negotiation tactics, legal precedents, and how to accurately value a claim, often securing a higher amount than an unrepresented worker.
Vocational Rehabilitation and Earning Capacity: If the injury permanently affects the worker's ability to return to their previous job or limits their future earning capacity, this can increase the settlement value. Vocational assessments play a key role here.
Quality of Medical Evidence: Strong, well-documented medical evidence supporting the diagnosis, extent of injury, impairment rating, and need for future treatment is crucial. Weak or contradictory medical opinions can undermine a claim's value.
Frequently Asked Questions (FAQ)
Q1: Is the result from the WC settlement calculator a guaranteed amount?
A1: No. The results are estimates based on the data you input and common calculation methods. Actual settlements are subject to negotiation, legal review, and specific state laws.
Q2: How is the Average Weekly Wage (AWW) typically calculated?
A2: It's usually calculated by dividing your total earnings over a specific period (often the 13 weeks preceding your injury) by the number of weeks worked during that period. Some states have slightly different methods.
Q3: What happens if my impairment rating changes over time?
A3: If your condition improves or deteriorates, your impairment rating might be re-evaluated, potentially affecting your benefit amount or settlement negotiation. However, settlements often aim to account for the condition as it stands or is anticipated.
Q4: Can I settle my claim without an attorney?
A4: Yes, you can. However, navigating the complexities of workers' compensation and settlement negotiations can be challenging. An attorney can help ensure you receive a fair settlement and understand all your rights. Consider using resources like a workers' comp lawyer finder if you need assistance.
Q5: What if the insurance company offers less than the calculator suggests?
A5: This is common. The calculator provides a baseline. If the offer is significantly lower, it's a strong signal to negotiate further or seek legal advice. Review the reasons for the discrepancy.
Q6: Does the settlement cover future medical expenses?
A6: A comprehensive settlement should account for reasonably anticipated future medical care related to the injury. You can include an estimate for this in the "Other Associated Costs" field.
Q7: How long does the settlement process typically take?
A7: The timeline can vary greatly, from a few weeks to several months or even longer, depending on the complexity of the claim, the willingness of parties to negotiate, and legal processes.
Q8: What if I disagree with the permanent disability percentage assigned?
A8: You have the right to seek a second medical opinion or challenge the rating through the workers' compensation system, often with the help of your attorney. This disagreement can significantly impact settlement negotiations.
Q9: Can I use this calculator for temporary disability benefits?
A9: This calculator is primarily designed for estimating permanent disability settlements. Temporary disability benefits are typically calculated based on a portion of your AWW for the period you are unable to work. While related, they are distinct from a final settlement value.
Related Tools and Internal Resources
Workers' Comp Benefits Calculator – Helps estimate potential weekly temporary or permanent disability payments based on your AWW and state specifics.
Understanding Workers' Comp Claims – A comprehensive guide to the process of filing and managing a workers' compensation claim from start to finish.
Permanent Disability Explained – Deep dive into how permanent disability ratings are determined and their impact on your compensation.
Medical Cost Estimator – Provides insights into the potential costs of various medical treatments and procedures.
Workers' Comp Lawyer Finder – Helps you locate qualified legal professionals specializing in workers' compensation in your area.
function validateInput(id, errorId, minValue, maxValue) {
var input = document.getElementById(id);
var errorElement = document.getElementById(errorId);
var value = parseFloat(input.value);
errorElement.style.display = 'none';
input.style.borderColor = '#ced4da';
if (input.value.trim() === "") {
errorElement.innerText = "This field cannot be empty.";
errorElement.style.display = 'block';
input.style.borderColor = 'red';
return false;
}
if (isNaN(value)) {
errorElement.innerText = "Please enter a valid number.";
errorElement.style.display = 'block';
input.style.borderColor = 'red';
return false;
}
if (minValue !== undefined && value maxValue) {
errorElement.innerText = "Value exceeds maximum allowed (" + maxValue + "%).";
errorElement.style.display = 'block';
input.style.borderColor = 'red';
return false;
}
return true;
}
function calculateSettlement() {
var awwValid = validateInput('averageWeeklyWage', 'averageWeeklyWageError', 0);
var impairmentValid = validateInput('impairmentRating', 'impairmentRatingError', 0, 100);
var disabilityValid = validateInput('permanentDisabilityPercentage', 'permanentDisabilityPercentageError', 0, 100);
var weeksValid = validateInput('weeksOfBenefits', 'weeksOfBenefitsError', 0);
var legalFeesValid = validateInput('legalFeesPercentage', 'legalFeesPercentageError', 0, 100);
var costsValid = validateInput('otherCosts', 'otherCostsError', 0);
if (!awwValid || !impairmentValid || !disabilityValid || !weeksValid || !legalFeesValid || !costsValid) {
document.getElementById('calculator-results').style.display = 'none';
return;
}
var averageWeeklyWage = parseFloat(document.getElementById('averageWeeklyWage').value);
var impairmentRating = parseFloat(document.getElementById('impairmentRating').value); // Note: impairmentRating isn't directly used in the basic formula but informs disability percentage
var permanentDisabilityPercentage = parseFloat(document.getElementById('permanentDisabilityPercentage').value);
var weeksOfBenefits = parseFloat(document.getElementById('weeksOfBenefits').value);
var legalFeesPercentage = parseFloat(document.getElementById('legalFeesPercentage').value);
var otherCosts = parseFloat(document.getElementById('otherCosts').value);
// Constants and approximations
var weeklyBenefitRateMultiplier = 0.6667; // Represents ~2/3 of AWW
// Calculations
var weeklyBenefitRate = averageWeeklyWage * weeklyBenefitRateMultiplier;
// The permanent disability percentage is applied to the *potential* benefits for the duration.
// In some systems, this percentage directly modifies the weekly rate or total duration.
// Here, we'll assume it scales the total potential benefit duration or value.
// A simplified model: calculate value based on full weeks, then scale by disability percentage *if* the model implies that.
// More commonly, the *number of weeks* is determined by the disability percentage for a specific body part/injury type.
// The formula provided in the article uses the disability percentage directly, suggesting it scales the total possible benefit.
// Let's refine:
// Base weekly benefit = AWW * 0.6667
// Total potential value without disability scaling = Base weekly benefit * Weeks of Benefits
// Value considering disability = Total potential value * (Permanent Disability Percentage / 100) – this interpretation may be too simplistic.
// A common interpretation: The permanent disability percentage determines the *number of weeks* you get benefits for.
// If your disability rating corresponds to 200 weeks in a schedule, that's your 'weeksOfBenefits'.
// Let's assume 'weeksOfBenefits' already reflects the disability-scaled duration provided by the state.
// If not, the formula would be: scaledWeeks = weeksOfBenefits * (permanentDisabilityPercentage / 100) – this is often WRONG.
// Re-reading common formulas: The disability percentage often modifies the *value* or is used to find the *number of weeks*.
// For simplicity and common usage, let's assume 'weeksOfBenefits' is the *total number of weeks* awarded based on the disability.
// So, the weekly rate *times* the awarded weeks is the base.
// However, the prompt's formula *does* apply `Permanent Disability Percentage` at the end of the 'Basic Settlement Value' calc.
// Let's stick to the prompt's implied formula structure for clarity, assuming 'weeksOfBenefits' might be a general estimate.
// Correcting based on prompt's formula: Basic Settlement Value = (AWW * 0.6667) * Weeks of Benefits * Permanent Disability Percentage
// This is unusual – the disability percentage usually *determines* weeks or is applied differently.
// Let's assume the prompt implies a model where the disability % scales the *total possible benefit value*.
// Let's try a more standard approach:
// Benefit Rate = AWW * 0.6667
// Total Value = Benefit Rate * Weeks of Benefits
// This total value is then potentially adjusted by other factors.
// The prompt's formula: `Basic Settlement Value = (AWW * 0.6667) * Weeks of Benefits * Permanent Disability Percentage`
// This seems to imply that the disability percentage is a direct multiplier on the potential benefits.
// Let's use this for consistency with the prompt, even if it's a simplification.
var basicSettlementValue = (averageWeeklyWage * weeklyBenefitRateMultiplier) * weeksOfBenefits * (permanentDisabilityPercentage / 100);
// The prompt's formula for Total Value of Benefits is `Basic Settlement Value + Other Associated Costs`
// This suggests the 'Basic Settlement Value' is the compensation for the disability itself.
var totalValueofBenefits = basicSettlementValue + otherCosts;
var legalFeesAmount = totalValueofBenefits * (legalFeesPercentage / 100);
var finalPayout = totalValueofBenefits – legalFeesAmount;
// Format results
var formatCurrency = function(amount) {
return amount.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
};
document.getElementById('totalBenefitsValue').innerText = formatCurrency(totalValueofBenefits);
document.getElementById('estimatedNetSettlement').innerText = formatCurrency(totalValueofBenefits); // In this model, Net Settlement = Total Value of Benefits before fees
document.getElementById('legalFeesAmount').innerText = formatCurrency(legalFeesAmount);
document.getElementById('finalPayout').innerText = formatCurrency(finalPayout);
document.getElementById('primary-result').innerText = formatCurrency(finalPayout); // Primary result is the final take-home amount
document.getElementById('calculator-results').style.display = 'block';
updateChart(totalValueofBenefits, legalFeesAmount, otherCosts);
updateBenefitTable(averageWeeklyWage, weeklyBenefitRateMultiplier, weeksOfBenefits, permanentDisabilityPercentage);
}
function resetCalculator() {
document.getElementById('averageWeeklyWage').value = ";
document.getElementById('impairmentRating').value = ";
document.getElementById('permanentDisabilityPercentage').value = ";
document.getElementById('weeksOfBenefits').value = ";
document.getElementById('legalFeesPercentage').value = ";
document.getElementById('otherCosts').value = ";
document.getElementById('averageWeeklyWageError').innerText = ";
document.getElementById('impairmentRatingError').innerText = ";
document.getElementById('permanentDisabilityPercentageError').innerText = ";
document.getElementById('weeksOfBenefitsError').innerText = ";
document.getElementById('legalFeesPercentageError').innerText = ";
document.getElementById('otherCostsError').innerText = ";
document.getElementById('calculator-results').style.display = 'none';
document.getElementById('settlementChart').getContext('2d').clearRect(0, 0, canvas.width, canvas.height);
document.getElementById('benefitTableBody').innerHTML = ";
}
function copyResults() {
var primaryResult = document.getElementById('primary-result').innerText;
var totalBenefits = document.getElementById('totalBenefitsValue').innerText;
var netSettlement = document.getElementById('estimatedNetSettlement').innerText;
var legalFees = document.getElementById('legalFeesAmount').innerText;
var finalPayout = document.getElementById('finalPayout').innerText;
var summary = "WC Settlement Estimate:\n";
summary += "————————–\n";
summary += "Total Value of Benefits: " + totalBenefits + "\n";
summary += "Estimated Net Settlement: " + netSettlement + "\n";
summary += "Legal Fees: " + legalFees + "\n";
summary += "Estimated Final Payout: " + finalPayout + "\n";
summary += "————————–\n";
summary += "Primary Result (Final Payout): " + primaryResult;
var textArea = document.createElement("textarea");
textArea.value = summary;
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand("copy");
alert("Results copied to clipboard!");
} catch (e) {
alert("Failed to copy results. Please copy manually.");
}
document.body.removeChild(textArea);
}
function updateChart(totalBenefits, legalFees, otherCosts) {
var ctx = document.getElementById('settlementChart').getContext('2d');
if (window.settlementChartInstance) {
window.settlementChartInstance.destroy();
}
var chartData = {
labels: ['Total Benefits', 'Legal Fees', 'Other Costs'],
datasets: [{
label: 'Monetary Value',
data: [totalBenefits, legalFees, otherCosts],
backgroundColor: [
'rgba(0, 74, 153, 0.7)', // Primary Color (Total Benefits)
'rgba(255, 99, 132, 0.7)', // Red (Legal Fees)
'rgba(54, 162, 235, 0.7)' // Blue (Other Costs)
],
borderColor: [
'rgba(0, 74, 153, 1)',
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)'
],
borderWidth: 1
}]
};
window.settlementChartInstance = new Chart(ctx, {
type: 'bar', // Changed to bar for better comparison
data: chartData,
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: {
beginAtZero: true,
ticks: {
callback: function(value) {
return '$' + value.toLocaleString();
}
}
}
},
plugins: {
legend: {
position: 'top',
},
title: {
display: true,
text: 'Settlement Component Breakdown'
}
}
}
});
}
function updateBenefitTable(aww, multiplier, totalWeeks, disabilityPercentage) {
var tableBody = document.getElementById('benefitTableBody');
tableBody.innerHTML = "; // Clear previous rows
if (!aww || !multiplier || !totalWeeks || !disabilityPercentage) return;
var weeklyRate = aww * multiplier;
// Adjusting rate by disability percentage as per the prompt's implied formula structure
// This might oversimplify how disability affects weekly rates vs. duration.
// Assuming the 'weeksOfBenefits' is the duration awarded based on disability.
// The prompt formula is `(AWW * 0.6667) * Weeks of Benefits * Permanent Disability Percentage` for Basic Settlement.
// Let's calculate the 'Basic Settlement Value' per week and then scale it.
var weeklyBasicValue = (aww * multiplier) * (disabilityPercentage / 100);
var cumulativeValue = 0;
var rowCount = Math.min(10, Math.floor(totalWeeks / 5)); // Show up to 10 rows, breaking down 5-week intervals
var intervalWeeks = Math.max(1, Math.floor(totalWeeks / rowCount)); // Calculate interval
for (var i = 1; i 1 ? intervalWeeks * (i-1) : 0);
if (weeksInInterval intervalWeeks * rowCount) {
var remainingWeeks = totalWeeks – (intervalWeeks * rowCount);
var remainingValue = weeklyBasicValue * remainingWeeks;
cumulativeValue += remainingValue;
var row = tableBody.insertRow();
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
var cell3 = row.insertCell(2);
cell1.innerText = totalWeeks;
cell2.innerText = remainingValue.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
cell3.innerText = cumulativeValue.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
}
}
// Load Chart.js dynamically for the chart
// In a real application, this would be a separate script tag.
// For a single file, we embed it.
// IMPORTANT: You need to include the Chart.js library for this to work.
// For this example, I'm assuming Chart.js is available globally.
// In a single HTML file context, you'd typically paste the Chart.js CDN link or its content here.
// Example:
// Since I cannot add external scripts or assume they exist, I'll simulate the Chart object.
// For this to render in a browser, you MUST include Chart.js.
// Replace the placeholder below with actual Chart.js library inclusion or content.
// Placeholder for Chart.js – REPLACE WITH ACTUAL LIBRARY
// var Chart = function() { … Chart.js library content … };
// Example: at the end of body.
// Mock Chart object for demonstration if Chart.js is not included externally
if (typeof Chart === 'undefined') {
console.warn("Chart.js library not found. Chart will not render. Please include Chart.js.");
var Chart = function() {
this.destroy = function() { console.log('Mock destroy called'); };
};
Chart.prototype.defaults = {
set: function(options) {}
};
Chart.prototype.controllers = {};
Chart.prototype.controllers.bar = {
prototype: {
update: function() {}
}
};
// Add minimal mock for type definition
Chart.prototype.Bar = function(ctx, config) {
console.log("Mock Chart.js Bar chart created with config:", config);
this.ctx = ctx;
this.config = config;
this.destroy = function() { console.log('Mock destroy called'); };
};
}