Skip to main content
Skip to Filters
401 listings
    • 37,217 miles
    • No accidents, 1 owner, personal use only
    • 7 Seats, 22 City / 28 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from GA to CA*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Savannah, GA / 2,320 miles away from San Jose, CA

    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:

    24 Combined MPG (22 City/28 Highway)

    Listing Information:

    VIN: JM3TCADY0J0215574
    Stock: 27158799
    Certified Pre-Owned: No

  • New Listing
    • 50,943 miles
    • No accidents, 3 owners, corporate fleet vehicle
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CO to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Colorado Springs, CO / 933 miles away from San Jose, CA

    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: JM3TCBCY0J0224315
    Stock: 27247113
    Certified Pre-Owned: No

  • New Listing
    • 71,583 miles
    • No accidents, 2 owners, personal use only
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from Roseville, CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Roseville, CA / 112 miles away from San Jose, CA

    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: JM3TCBEY0J0208421
    Stock: 27143452
    Certified Pre-Owned: No

  • New Listing
    • 82,706 miles
    • No accidents, 2 owners, personal use
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Fredericksburg, VA / 2,396 miles away from San Jose, CA

    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: JM3TCBEY3J0213189
    Stock: 27037133
    Certified Pre-Owned: No

  • New Listing
    • 105,685 miles
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Virginia Beach, VA / 2,494 miles away from San Jose, CA

    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: JM3TCBCY4J0226407
    Stock: 27240638
    Certified Pre-Owned: No

  • New Listing
    • 85,485 miles
    • 1 accident, 2 owners, personal use only
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from MA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Westborough, MA / 2,649 miles away from San Jose, CA

    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: JM3TCBCY7J0230757
    Stock: 27321078
    Certified Pre-Owned: No

    • 75,573 miles
    • 1 accident, 2 owners, corporate fleet vehicle
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Virginia Beach, VA / 2,494 miles away from San Jose, CA

    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: 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: JM3TCBCY2J0209282
    Stock: 27342784
    Certified Pre-Owned: No

    • 33,045 miles
    • 1 accident, 1 owner, personal use only
    • 7 Seats, 22 City / 28 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Dallas, TX / 1,441 miles away from San Jose, CA

    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:

    24 Combined MPG (22 City/28 Highway)

    Listing Information:

    VIN: JM3TCACY5J0200036
    Stock: 2003686821
    Certified Pre-Owned: No
    Listed since: 04-25-2025

  • New Listing
    • 77,984 miles
    • 1 accident, 2 owners, personal use
    • 7 Seats, 22 City / 28 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    • Third-row seating
    Close

    Located in Columbus, OH / 2,085 miles away from San Jose, CA

    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:

    24 Combined MPG (22 City/28 Highway)

    Listing Information:

    VIN: JM3TCACY8J0232818
    Stock: 2003652623
    Certified Pre-Owned: No
    Listed since: 04-22-2025

  • New Listing
    • 44,078 miles
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from NE to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Third-row seating
    • Upgraded Headlights
    Close

    Located in Omaha, NE / 1,392 miles away from San Jose, CA

    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: JM3TCBBY6J0230184
    Stock: 26809438
    Certified Pre-Owned: No

  • New Listing
    • 90,093 miles
    • 4 accidents, 1 owner, personal use only
    • 7 Seats, 20 City / 26 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Virginia Beach, VA / 2,494 miles away from San Jose, CA

    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: JM3TCBEYXJ0223671
    Stock: 27342588
    Certified Pre-Owned: No

  • $15,480
    good price
    $1,501 below market
    • 127,035 miles
    • No accidents, 1 owner, personal use
    • 7 Seats, 20 City / 26 Hwy MPG
    • Driveway (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Farmington Hills, MI / 2,050 miles away from San Jose, CA

    Rare Find,3rd Row Seat,Apple CarPlay,Back-Up Camera,Blind Spot Monitor,Bluetooth,Brake Assist,Heated Seats,Heated Steering Wheel,Keyless Start,Lane Ke...

    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: JM3TCBEY0K0307189
    Stock: K0307189P
    Certified Pre-Owned: No

  • Price Drop
    $26,249
    great price
    $2,234 below market
    • 53,567 miles
    • No accidents, 1 owner, personal use only
    • 7 Seats, 20 City / 26 Hwy MPG
    • Tracy Volkswagen (43 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Tracy, CA / 43 miles away from San Jose, CA

    LOWEST PRICING OF THE YEAR, DON'T MISS OUT. PREVIOUS RENTAL**LEATHER**, **SUNROOF/MOONROOF**, **NAVIGATION**, **Rear View Camera**, ** APPLE CARPLAY *...

    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: JM3TCBDY5P0638049
    Stock: P0638049R
    Certified Pre-Owned: No
    Listed since: 03-19-2025

  • New Listing
    $17,988
    great price
    $2,527 below market
    • 60,968 miles
    • 3 accidents, 3 owners, corporate fleet vehicle
    • 7 Seats, 20 City / 26 Hwy MPG
    • Thrifty Car Sales Sacramento (93 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Sacramento, CA / 93 miles away from San Jose, CA

    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: JM3TCBCY5K0308079
    Stock: S22546
    Certified Pre-Owned: No

  • Price Drop
    $26,679
    good price
    $1,282 below market
    • 55,537 miles
    • No accidents, 1 owner, corporate fleet vehicle
    • 7 Seats, 20 City / 26 Hwy MPG
    • Western Motors Merced (69 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Merced, CA / 69 miles away from San Jose, CA

    Scores 26 Highway MPG and 20 City MPG! This Mazda CX-9 boasts a Intercooled Turbo Regular Unleaded I-4 2.5 L/152 engine powering this Automatic transm...

    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: JM3TCBDY5P0643414
    Stock: 27544
    Certified Pre-Owned: No
    Listed since: 03-25-2025

  • Price Drop
    $27,800
    fair price
    $189 below market
    • 28,961 miles
    • No accidents, 1 owner, corporate fleet vehicle
    • 7 Seats, 20 City / 26 Hwy MPG
    • Elk Grove Buick GMC (87 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Elk Grove, CA / 87 miles away from San Jose, CA

    Machine Gray Metallic exterior and Black interior. Heated Leather Seats, Third Row Seat, Rear Air, Power Liftgate, Aluminum Wheels, Turbo Charged, ALL...

    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: JM3TCBCY3N0603413
    Stock: P6525
    Certified Pre-Owned: No
    Listed since: 03-26-2025

  • $23,766
    fair price
    $883 below market
    • 58,154 miles
    • No accidents, 1 owner, personal use only
    • 6 Seats, 22 City / 28 Hwy MPG
    • Capitol Chevrolet of San Jose (10 mi away)
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in San Jose, CA / 10 miles away from San Jose, CA

    This DGDG Premium 2021 Mazda CX-9 Grand Touring with one previous owner and 58,154 miles was inspected and reconditioned by our service team. Recondit...

    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:

    24 Combined MPG (22 City/28 Highway)

    Listing Information:

    VIN: JM3TCADY8M0511561
    Stock: UC14191
    Certified Pre-Owned: No
    Listed since: 02-04-2025

  • Price Drop
    $29,888
    good price
    $1,329 below market
    • 29,355 miles
    • No accidents, 1 owner, personal use
    • 7 Seats, 20 City / 26 Hwy MPG
    • Stevens Creek Mazda (16 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in San Jose, CA / 16 miles away from San Jose, CA

    This Mazda Certified Pre-Owned 2022 Mazda CX-9 Touring Plus with one previous owner and 29,355 miles was inspected and reconditioned by our service te...

    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: JM3TCBAY0N0619054
    Stock: UO39717
    Certified Pre-Owned: Yes
    Listed since: 04-29-2025

  • New Listing
    $31,495
    good price
    $1,241 below market
    • 22,468 miles
    • No accidents, 1 owner, personal use
    • 6 Seats, 20 City / 26 Hwy MPG
    • Marin Mazda (68 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in San Rafael, CA / 68 miles away from San Jose, CA

    Complimentary 3 Month / 3,000 Mile Powertrain Warranty INCLUDED!!!, CX-9 Grand Touring, 4D Sport Utility, 2.5L 4-Cylinder, 6-Speed Automatic, AWD, Dee...

    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: JM3TCBDY0P0638962
    Stock: U1035
    Certified Pre-Owned: No
    Listed since: 05-08-2025

  • Price Drop
    $19,791
    good price
    $1,052 below market
    • 68,766 miles
    • No accidents, 1 owner, personal use only
    • 7 Seats, 22 City / 28 Hwy MPG
    • Driveway (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    • Third-row seating
    Close

    Located in Coral Springs, FL / 2,533 miles away from San Jose, CA

    High Demand,Rare Find,3rd Row Seat,Apple CarPlay,Back-Up Camera,Blind Spot Monitor,Bluetooth,Brake Assist,Heated Seats,Keyless Start,Lane Keeping Assi...

    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:

    24 Combined MPG (22 City/28 Highway)

    Listing Information:

    VIN: JM3TCACYXK0314759
    Stock: TDK0314759
    Certified Pre-Owned: No

  • Price Drop
    $27,881
    fair price
    $222 below market
    • 54,319 miles
    • No accidents, 1 owner, rental vehicle
    • 6 Seats, 20 City / 26 Hwy MPG
    • Premier Subaru of Fremont (25 mi away)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Fremont, CA / 25 miles away from San Jose, CA

    Priced below KBB Fair Purchase Price! One-Owner. Clean CARFAX. AWD, 12 Speakers, 3rd row seats: bench, 4-Wheel Disc Brakes, 4.411 Axle Ratio, ABS brak...

    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: JM3TCBDY2N0627992
    Stock: P3519
    Certified Pre-Owned: No
    Listed since: 03-17-2025

Showing 64 - 84 out of 401 listings

Consumer Reviews for the Mazda CX-9

Read recent reviews for the Mazda CX-9
Overall Consumer Rating
4.4 out of 5 stars46 Reviews
Write a vehicle reviewSee all 46 reviews
  • 5 star
    (72%)
  • 4 star
    (17%)
  • 3 star
    (7%)
  • 2 star
    (2%)
  • 1 star
    (2%)
4.63 out of 5 stars

Best AWD Crossover

greenmtneer, 07/05/2011
2011 Mazda CX-9 Touring 4dr SUV AWD (3.7L 6cyl 6A)
After extensive research and test driving, we selected the CX-9. Based upon reviews, and experience with friends' cars, we narrowed it down to the Highlander and the CX-9. Previously we had a Ford Explorer, and opted to not consider Ford due to the problems we had with that vehicle. GM and Honda were eliminated due to the price point (Toyota and Mazda clearly offer more value.) In the … end, the Mazda won out due to its handling, and its interior space. We test drove the CX-9 and Highlander back to back, and the difference in handling curves was remarkable. We also checked out the Audi Q7. We felt that the Mazda compared favorably to the Audi in all aspects, and is priced $20k less.
Report abuse

Used 2018 Mazda CX-9 in San Jose, CA Values

Estimated values
2018 Mazda CX-9 Grand Touring 4dr SUV (2.5L 4cyl Turbo 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$18,187$20,888$23,108
Clean$17,552$20,150$22,283
Average$16,493$18,920$20,906
Rough$15,117$17,321$19,117

The average list price of a used 2018 Mazda CX-9 in San Jose, California is $23,618. The average mileage on a used Mazda CX-9 2018 for sale in San Jose, California is 62,549. Based on the average mileage of 62,549 for used 2018 Mazda CX-9 for sale in San Jose, CA 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 2018 in San Jose, California to be $16,493.

Filters
Skip to Results

Applied Filters4Active

Location

Search radius100 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.