Skip to main content
Skip to Filters
282 listings
  • Price Drop
    • 24,701 miles
    • 1 accident, 4 owners, personal use only
    • 4cyl automatic
    • Carvana - Richmond (130 mi away)
    • Home delivery*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Richmond, VA / 130 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    29 Combined MPG (26 City/35 Highway)

    Listing Information:

    VIN: JM1NDAD79H0122729
    Stock: 2004029755
    Certified Pre-Owned: No
    Listed since: 09-04-2025

  • New Listing
    • 25,227 miles
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from NY to NC*
    • Leather Seats
    • Tire Pressure Warnin...
    • Auto Climate Control
    • Trip Computer
    • Stability Control
    Close

    Located in East Meadow, NY / 432 miles away from Durham, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary Unavailable.

    Features and Specs:

    24 Combined MPG (21 City/28 Highway)

    Listing Information:

    VIN: JM1NC2PF1F0241562
    Stock: 26884967
    Certified Pre-Owned: No

  • New Listing
    • 38,300 miles
    • 1 accident, 1 owner, personal use only
    • 4cyl manual
    • Carvana - Charlotte (122 mi away)
    • Home delivery*
    • Bluetooth
    • Upgraded Headlights
    • Blind Spot Monitorin...
    • Tire Pressure Warnin...
    • USB Inputs
    Close

    Located in Charlotte, NC / 122 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    29 Combined MPG (26 City/33 Highway)

    Listing Information:

    VIN: JM1NDAC75H0121059
    Stock: 2004086109
    Certified Pre-Owned: No
    Listed since: 09-18-2025

    • 195,084 miles
    • Frame damage reported, 2 owners, corporate fleet vehicle
    • 4cyl automatic
    • Carolina Auto Sales # 2 (177 mi away)
    • Tire Pressure Warnin...
    • Stability Control
    • Aux Audio Inputs
    • Soft Top
    Close

    Located in Marion, NC / 177 miles away from Durham, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Issue reported

    Salvage Vehicle: No

    Frame Damage: Yes

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (21 City/28 Highway)

    Listing Information:

    VIN: JM1NC2JF7F0241011
    Stock: 6323
    Certified Pre-Owned: No
    Listed since: 07-26-2024

  • $12,844
    great price
    $1,601 below market
    • 111,608 miles
    • No accidents, 3 owners, personal use only
    • 4cyl automatic
    • Rock Hill Nissan (140 mi away)
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Tire Pressure Warnin...
    • USB Inputs
    Close

    Located in Rock Hill, SC / 140 miles away from Durham, NC

    CERAMIC METALLIC, Wheels: 17" x 7" Dark Gunmetal Aluminum Alloy, Vinyl Door Trim Insert, Variable Intermittent Wipers, Trunk Rear Cargo Access, Trip C...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/36 Highway)

    Listing Information:

    VIN: JM1NDAC79G0103646
    Stock: TG0103646
    Certified Pre-Owned: No
    Listed since: 08-06-2025

  • Price Drop
    $16,998
    great price
    $2,436 below market
    • 52,313 miles
    • 1 accident, 3 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from NE to NC*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Omaha, NE / 996 miles away from Durham, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: Yes

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD75G0112228
    Stock: 27368645
    Certified Pre-Owned: No

  • $24,900
    good price
    $920 below market
    • 12,322 miles
    • 1 accident, 1 owner, corporate fleet vehicle
    • 4cyl manual
    • Impex Auto Sales (52 mi away)
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    • Tire Pressure Warnin...
    Close

    Located in Greensboro, NC / 52 miles away from Durham, NC

    CARFAX One-Owner. This 2018 Mazda Miata Club RWD, with 12322 miles, has been thoroughly inspected and reconditioned by our expert service team. At Imp...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    29 Combined MPG (26 City/33 Highway)

    Listing Information:

    VIN: JM1NDAC74J0202012
    Stock: 1MC2012
    Certified Pre-Owned: No
    Listed since: 06-20-2025

  • $19,998
    good price
    $946 below market
    • 31,411 miles
    • No accidents, 3 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from FL to NC*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Jacksonville, FL / 437 miles away from Durham, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD70G0110838
    Stock: 27634731
    Certified Pre-Owned: No

    • 46,187 miles
    • No accidents, 5 owners, personal use only
    • 4cyl automatic
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Leather Seats
    • Upgraded Headlights
    • Tire Pressure Warnin...
    • Auto Climate Control
    Close

    Located in San Antonio, TX / 1,224 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (21 City/28 Highway)

    Listing Information:

    VIN: JM1NC2FF0A0211611
    Stock: 2003997412
    Certified Pre-Owned: No
    Listed since: 08-26-2025

  • New Listing
    • 9,039 miles
    • No accidents, 2 owners, personal use
    • 4cyl automatic
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Dallas, TX / 1,041 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/36 Highway)

    Listing Information:

    VIN: JM1NDAD73G0118867
    Stock: 2003993998
    Certified Pre-Owned: No
    Listed since: 08-19-2025

  • Price Drop
    $22,590
    fair price
    $371 above market
    • 13,009 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Atlanta, GA / 351 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: Yes

    Features and Specs:

    30 Combined MPG (27 City/36 Highway)

    Listing Information:

    VIN: JM1NDAD71G0112775
    Stock: 2004011117
    Certified Pre-Owned: No
    Listed since: 08-26-2025

  • $16,950
    good price
    $885 below market
    • 56,356 miles
    • No accidents, 4 owners, personal use only
    • 4cyl manual
    • Mountain Mitsubishi (136 mi away)
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Hickory, NC / 136 miles away from Durham, NC

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD75G0108650
    Stock: U4648
    Certified Pre-Owned: No
    Listed since: 07-28-2025

  • Price Drop
    $23,590
    fair price
    $593 above market
    • 17,305 miles
    • No accidents, 1 owner, personal use only
    • 4cyl manual
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Upgraded Headlights
    • Tire Pressure Warnin...
    • USB Inputs
    • Trip Computer
    Close

    Located in Chicago, IL / 654 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC77G0112281
    Stock: 2004060089
    Certified Pre-Owned: No
    Listed since: 09-16-2025

  • $20,590
    fair price
    $1,705 above market
    • 22,723 miles
    • No accidents, 3 owners, corporate fleet vehicle
    • 4cyl manual
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Upgraded Headlights
    • Tire Pressure Warnin...
    • USB Inputs
    • Trip Computer
    Close

    Located in Chicago, IL / 654 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAB74G0119674
    Stock: 2004052470
    Certified Pre-Owned: No
    Listed since: 09-09-2025

  • Price Drop
    $22,515
    fair price
    $538 above market
    • 29,453 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • Sheehy Ford (139 mi away)
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Ashland, VA / 139 miles away from Durham, NC

    Recent Arrival! 2016 Mazda Miata Grand Touring RWD at Sheehy Ford of Ashland! This Miata has an exterior color of Soul Red Metallic with Black Leather...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD78G0101563
    Stock: J4870Z
    Certified Pre-Owned: No
    Listed since: 09-14-2025

  • Price Drop
    $16,881
    fair price
    $42 below market
    • 71,809 miles
    • 1 accident, 4 owners, personal use only
    • 4cyl automatic
    • Leith Nissan (25 mi away)
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Cary, NC / 25 miles away from Durham, NC

    Blue Reflex Mica 2016 Mazda Miata Grand Touring RWD 6-Speed Automatic Sport 2.0L I4 DOHC VVT 16V Black Leather.Recent Arrival! 27/36 City/Highway ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/36 Highway)

    Listing Information:

    VIN: JM1NDAD76G0113484
    Stock: G0113484
    Certified Pre-Owned: No
    Listed since: 09-12-2025

  • New Listing
    $20,998
    fair price
    $802 above market
    • 33,254 miles
    • No accidents, 3 owners, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from MD to NC*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Ellicott City, MD / 249 miles away from Durham, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/36 Highway)

    Listing Information:

    VIN: JM1NDAD72G0115118
    Stock: 27576579
    Certified Pre-Owned: No

  • New Listing
    • 31,360 miles
    • No accidents, 3 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from CT to NC*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Waterbury, CT / 494 miles away from Durham, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD73G0109604
    Stock: 27827286
    Certified Pre-Owned: No

  • $17,998
    fair price
    $551 below market
    • 57,119 miles
    • No accidents, 4 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from FL to NC*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Jacksonville, FL / 437 miles away from Durham, NC

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD7XG0114542
    Stock: 27605267
    Certified Pre-Owned: No

    • 68,123 miles
    • No accidents, 3 owners, personal use only
    • 4cyl manual
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in San Antonio, TX / 1,224 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD74G0115105
    Stock: 2003879327
    Certified Pre-Owned: No
    Listed since: 07-13-2025

  • $19,590
    fair price
    $298 above market
    • 47,939 miles
    • No accidents, 2 owners, personal use only
    • 4cyl automatic
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Birmingham, AL / 481 miles away from Durham, NC

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    30 Combined MPG (27 City/36 Highway)

    Listing Information:

    VIN: JM1NDAD7XG0100902
    Stock: 2004009315
    Certified Pre-Owned: No
    Listed since: 08-25-2025

Showing 43 - 63 out of 282 listings

Consumer Reviews for the Mazda MX-5 Miata

Read recent reviews for the Mazda MX-5 Miata
Overall Consumer Rating
4.5 out of 5 stars30 Reviews
Write a vehicle reviewSee all 30 reviews
  • 5 star
    (67%)
  • 4 star
    (20%)
  • 3 star
    (13%)
  • 2 star
    (0%)
  • 1 star
    (0%)
5 out of 5 stars

2500 miles in....what a great car

geoffb1, 10/06/2013
2013 Mazda MX-5 Miata Club 2dr Convertible w/Power Hard Top (2.0L 4cyl 6M)
I've been thinking at some point I am going to come to my senses and realize I've made a huge mistake buying a tiny 2 seat convertible. But then I find myself taking the long way home (again) so I can carve a few more turns with the fall foliage flashing by and the top down. And everything is right with the world. This car actually puts a smile on my face. It is an honest car that does … what it is supposed to do. If your idea of a great car is one that does everything possible to insulate you from the job of driving walk away now. But if you truly enjoy feeling connected to the road and the machine....give one of these a test drive. On a sunny day. With the top down. Update - October 2016 - not a single thing has gone wrong with this car. Oil changes, filters, rotate the tires, drive. Everything still tight and rattle free. Added a Bluetooth adapter to pipe phone into audio system. Still a blast to drive. I'm going to keep this one a long time. April 2020 - zero repairs. Did wear a hole in drivers seat bolster, but mechanically no issues. Good quarantine escape machine. April 2021 - 51,000 trouble free miles. April 2023 - 57K, still no significant problems. Runs like a champ. October 2024 - 62K trouble free miles. Took it out for a long top down ride - still brings a smile to my face. The nose has a few stone chips but the paint shines up nicely. The PRHT motor sounds like it's struggling but still works. She's starting to show her age but runs like a top.
Report abuse

Used 2017 Mazda MX-5 Miata in Durham, NC Values

Estimated values
2017 Mazda MX-5 Miata Grand Touring 2dr Convertible (2.0L 4cyl 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$16,682$19,646$21,935
Clean$16,098$18,918$21,079
Average$15,124$17,706$19,654
Rough$13,858$16,130$17,800

The average list price of a used 2017 Mazda MX-5 Miata in Durham, North Carolina is $19,680. The average mileage on a used Mazda MX-5 Miata 2017 for sale in Durham, North Carolina is 47,364. Based on the average mileage of 47,364 for used 2017 Mazda MX-5 Miata for sale in Durham, NC and using an average vehicle condition rating, which means the vehicle may have a few mechanical and/or cosmetic problems and may require a considerable amount of reconditioning, we appraise the average trade-in value of a used Mazda MX-5 Miata 2017 in Durham, North Carolina to be $15,124.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius200 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

Trim

Mileage

Accidents & History

Engine & Drivetrain

Exterior Color

Interior Color

Total Seating

Edmunds Review

Features

Options & Packages

MPG

Listing Details


* Delivery of any kind does not apply to Alaska and Hawaii. Contact the dealer for delivery details, restrictions and costs.