Skip to main content
Skip to Filters
644 listings
  • Price Drop
    $28,988
    fair price
    $379 above market
    • 49,055 miles
    • No accidents, 1 owner, rental vehicle
    • 4cyl automatic
    • Ourisman Mazda (161 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Laurel, MD / 161 miles away from Virginia Beach, VA

    2022 Mazda CX-9 Carbon Edition Polymetal Gray Metallic AWD CARFAX One-Owner. SUNROOF/MOONROOF, BLUETOOTH/HANDS FREE, REAR VIEW CAMERA/BACKUP CAMERA, B...

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY4N0627279
    Stock: A627279
    Certified Pre-Owned: No
    Listed since: 05-03-2025

  • New Listing
    Stock photo**
    $22,000
    fair price
    $353 above market
    • 94,356 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • 1 Stop Auto (5 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Norfolk, VA / 5 miles away from Virginia Beach, VA

    2020 Mazda CX-9 Grand Touring Deep Crystal Blue Mica Sand miles 94356 mpg city 20 mpg hwy 26 No Accidents! COMES WITH A 3 MONTH 3,000 MILE LIMITED POW...

    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 (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY2L0423061
    Stock: 005068
    Certified Pre-Owned: No
    Listed since: 05-13-2025

  • $30,150
    fair price
    $586 above market
    • 41,654 miles
    • No accidents, 2 owners, personal use
    • 4cyl automatic
    • Capital Mazda of Cary (165 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Cary, NC / 165 miles away from Virginia Beach, VA

    Capital of Cary is pleased to offer this charming-looking 2022 Mazda CX-9 Snowflake White Pearl Mica Grand Touring with the following features: LOCAL ...

    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 (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY2N0626096
    Stock: 15IC0025
    Certified Pre-Owned: No
    Listed since: 04-30-2025

  • Know your buying power

    Shop smarter by knowing your car’s value.

    Appraise my car
    • 17,756 miles
    • 1 accident, 1 owner, personal use
    • 4cyl automatic
    • Heritage Mazda Catonsville (173 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Baltimore, MD / 173 miles away from Virginia Beach, VA

    Recent Arrival! *ALL WHEEL DRIVE*, *HEATED LEATHER SEATS*, *POWER SUNROOF*, *POWER DRIVERS SEAT*, *BLIND SPOT MONITORING*, *LANE KEEP ASSIST*, *FORWAR...

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY2P0631169
    Stock: 5MP31169
    Certified Pre-Owned: No
    Listed since: 04-04-2025

  • New Listing
    $31,000
    fair price
    $164 above market
    • 25,376 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • Ourisman Mazda of Rockville (164 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Rockville, MD / 164 miles away from Virginia Beach, VA

    CARFAX One-Owner. This 2022 Polymetal Gray Metallic Mazda CX-9 Carbon Edition AWD is in INCREDIBLE condition and includes these features and benefits:...

    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 (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDYXN0618618
    Stock: PM10487
    Certified Pre-Owned: No
    Listed since: 04-27-2025

  • $32,300
    fair price
    $3 above market
    • 31,563 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • Safford Brown Mazda Fairfax (154 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Fairfax, VA / 154 miles away from Virginia Beach, VA

    Recent Arrival! CARFAX One-Owner. Clean CARFAX. Certified.Soul Red Crystal Metallic 2022 CX-9 Grand Touring AWD 6-Speed Automatic AWD.Odometer is ...

    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 (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY0N0610737
    Stock: P1062
    Certified Pre-Owned: Yes
    Listed since: 05-09-2025

  • Stock photo**
    $24,585
    good price
    $971 below market
    • 62,019 miles
    • 1 accident, 1 owner, rental vehicle
    • 4cyl automatic
    • Hampstead Pre-Owned (195 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Hampstead, MD / 195 miles away from Virginia Beach, VA

    Our family would like to thank you for taking a moment to check out our 2023 Mazda CX-9.Here at Hampstead Pre-Owned we pride ourselves on providing am...

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY7P0647531
    Stock: CGY647531
    Certified Pre-Owned: No
    Listed since: 05-07-2025

  • Price Drop
    $25,770
    fair price
    $652 above market
    • 29,876 miles
    • 1 accident, 1 owner, personal use
    • 4cyl automatic
    • Capital Mazda of Cary (165 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Third-row seating
    • Upgraded Headlights
    Close

    Located in Cary, NC / 165 miles away from Virginia Beach, VA

    Capital of Cary is honored to offer this superb-looking 2022 Mazda CX-9 Snowflake White Pearl Mica Sport with the following features: ONE OWNER, CX-9 ...

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBBY1N0614928
    Stock: CAD7200
    Certified Pre-Owned: No
    Listed since: 04-29-2025

    • 8,243 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • CarMax Salisbury (110 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Salisbury, MD / 110 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY6N0611178
    Stock: 27241242
    Certified Pre-Owned: No

  • New Listing
    $30,998
    fair price
    $620 above market
    • 28,395 miles
    • 1 accident, 1 owner, personal use
    • 4cyl automatic
    • CarMax Brandywine (134 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Brandywine, MD / 134 miles away from Virginia Beach, VA

    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: No

    Features and Specs:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBAY9P0648636
    Stock: 27170731
    Certified Pre-Owned: No

  • Price Drop
    • 14,745 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • CarMax Brandywine (134 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Third-row seating
    • Upgraded Headlights
    Close

    Located in Brandywine, MD / 134 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBBY4N0603826
    Stock: 27030876
    Certified Pre-Owned: No

  • Price Drop
    • 14,148 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • CarMax Frederick (168 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Third-row seating
    • Upgraded Headlights
    Close

    Located in Gaithersburg, MD / 168 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBBY3N0603929
    Stock: 27030766
    Certified Pre-Owned: No

  • New Listing
    $28,975
    fair price
    $543 above market
    • 42,216 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • Safford Brown Mazda Chantilly (160 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Chantilly, VA / 160 miles away from Virginia Beach, VA

    JUST ARRIVED - MAZDA FACTORY CERTIFIED 7 YEAR/100,000 MILE WARRANTY - CX-9 TOURING PLUS(OPTIONS LISTED BELOW) - SECOND ROW BENCH SEAT - ALLWHEEL - LEA...

    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 (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBAY9N0615309
    Stock: M287
    Certified Pre-Owned: Yes
    Listed since: 05-07-2025

    • 14,215 miles
    • No accidents, 1 owner, corporate fleet vehicle
    • 4cyl automatic
    • CarMax Dulles (167 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Sterling, VA / 167 miles away from Virginia Beach, VA

    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: 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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBCYXP0641935
    Stock: 27140146
    Certified Pre-Owned: No

    • 7,286 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax Newark (197 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Newark, DE / 197 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBEYXP0646307
    Stock: 26819850
    Certified Pre-Owned: No

  • Price Drop
    $23,998
    fair price
    $527 above market
    • 59,617 miles
    • 1 accident, 2 owners, personal use
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from IN to VA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Indianapolis, IN / 581 miles away from Virginia Beach, VA

    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: No

    Features and Specs:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBCY0L0409712
    Stock: 27343916
    Certified Pre-Owned: No

  • New Listing
    $28,998
    fair price
    $811 above market
    • 34,692 miles
    • 4cyl automatic
    • CarMax Gaithersburg (189 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Frederick, MD / 189 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBCY0N0623358
    Stock: 27320789
    Certified Pre-Owned: No

    • 15,813 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from NC to VA*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Gastonia, NC / 303 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY1L0408003
    Stock: 27232553
    Certified Pre-Owned: No

    • 16,340 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax Gaithersburg (189 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Frederick, MD / 189 miles away from Virginia Beach, VA

    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: Yes

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBDY6N0626103
    Stock: 27252721
    Certified Pre-Owned: No

  • New Listing
    • 18,791 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • CarMax Capital Boulevard (152 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Raleigh, NC / 152 miles away from Virginia Beach, VA

    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:

    23 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBCY9P0654255
    Stock: 27450139
    Certified Pre-Owned: No

  • Price Drop
    • 22,115 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • Lindsay Manassas Chrysler Dodge Jeep Ram (153 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Manassas, VA / 153 miles away from Virginia Beach, VA

    *LOW MILEAGE*, POWER SUNROOF / SUNROOF / POWER TILT SLIDING ROOF, APPLE CARPLAY/ANDROID AUTO, BLUETOOTH, STEERING WHEEL AUDIO CONTROLS, PUSH-BUTTON ST...

    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 (20 City/26 Highway)

    Listing Information:

    VIN: JM3TCBAY9N0619473
    Stock: MR1290
    Certified Pre-Owned: No
    Listed since: 04-26-2025

Showing 274 - 294 out of 644 listings

Consumer Reviews for the Mazda CX-9

Read recent reviews for the Mazda CX-9
Overall Consumer Rating
4.3 out of 5 stars37 Reviews
Write a vehicle reviewSee all 37 reviews
  • 5 star
    (62%)
  • 4 star
    (22%)
  • 3 star
    (5%)
  • 2 star
    (5%)
  • 1 star
    (5%)
5 out of 5 stars

Great Find!

gr8sail, 01/26/2012
2012 Mazda CX-9 Grand Touring 4dr SUV AWD (3.7L 6cyl 6A)
I needed to consolidate cars. My 13 year old 4Runner died and while I absolutely loved my Infiniti M45 Sport, I decided 3 cars ('99 MX5 Miata 10th Anniversary edition) was one too many. I wanted the cargo ccapacity of the 4Runner and the handling of the M45. I got both in the CX9 Grand Touring. This car is great! Terrific handling, good acceleration (it's not the M45) and enough high … end features and gadgets to keep me happy. Mazda understands the importance of good ergonomics. The dash and controls are laid out well. The leather seats are very comfortable. There is plenty of room, front and back, ingress and egress is easy. A perfect combination of performance and functionality
Report abuse

Used 2022 Mazda CX-9 in Virginia Beach, VA Values

Estimated values
2022 Mazda CX-9 Carbon Edition 4dr SUV AWD (2.5L 4cyl Turbo 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$28,511$30,375$32,321
Clean$28,032$29,842$31,729
Average$27,234$28,953$30,741
Rough$26,197$27,797$29,458

The average list price of a used 2022 Mazda CX-9 in Virginia Beach, Virginia is $30,047. The average mileage on a used Mazda CX-9 2022 for sale in Virginia Beach, Virginia is 30,870. Based on the average mileage of 30,870 for used 2022 Mazda CX-9 for sale in Virginia Beach, VA 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 CX-9 2022 in Virginia Beach, Virginia to be $27,234.

Filters
Skip to Results

Applied Filters4Active

Location

Search radius200 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

Body Type

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.