Skip to main content
Skip to Filters
1,864 listings
  • $24,998
    good price
    $885 below market
    • 26,626 miles
    • 1 accident, 2 owners, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CA to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Fairfield, CA / 2,383 miles away from Frederick, MD

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM1N0523185
    Stock: 26504484
    Certified Pre-Owned: No

  • $22,998
    fair price
    $720 above market
    • 34,241 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from NC to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Fayetteville, NC / 309 miles away from Frederick, MD

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBCM2L0868370
    Stock: 27239565
    Certified Pre-Owned: No

    • 33,510 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Cleveland, OH / 270 miles away from Frederick, MD

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBAM8N0535337
    Stock: 2003861401
    Certified Pre-Owned: No
    Listed since: 07-12-2025

  • $26,998
    fair price
    $492 above market
    • 26,130 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Charlottesville, VA / 109 miles away from Frederick, MD

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

    Features and Specs:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM4N1583598
    Stock: 26866877
    Certified Pre-Owned: No

    • 28,427 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 24 City / 30 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Cleveland, OH / 270 miles away from Frederick, MD

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBCM0N1590954
    Stock: 2003825676
    Certified Pre-Owned: No
    Listed since: 06-14-2025

  • $25,998
    fair price
    $596 above market
    • 29,715 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from NV to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Henderson, NV / 2,055 miles away from Frederick, MD

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

    Features and Specs:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM1N0528354
    Stock: 27403343
    Certified Pre-Owned: No

  • $24,998
    fair price
    $174 above market
    • 32,308 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from GA to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Norcross, GA / 531 miles away from Frederick, MD

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

    Features and Specs:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM6L0865826
    Stock: 27249406
    Certified Pre-Owned: No

  • New Listing
    $25,998
    fair price
    $169 below market
    • 30,300 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CA to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Norco, CA / 2,240 miles away from Frederick, MD

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM0N0645651
    Stock: 27453450
    Certified Pre-Owned: No

  • $26,590
    fair price
    $1,313 above market
    • 29,843 miles
    • No accidents, 2 owners, personal use only
    • 5 Seats, 22 City / 27 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Oklahoma City, OK / 1,134 miles away from Frederick, MD

    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:

    24 Combined MPG (22 City/27 Highway)

    Listing Information:

    VIN: JM3KFBEY3L0786096
    Stock: 2003799276
    Certified Pre-Owned: No
    Listed since: 06-12-2025

  • $22,998
    fair price
    $793 above market
    • 37,085 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 25 City / 31 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CA to MD*
    • Back-up camera
    • Bluetooth
    • Sunroof/Moonroof
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Palmdale, CA / 2,254 miles away from Frederick, MD

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFACM2L0760857
    Stock: 27405810
    Certified Pre-Owned: No

  • New Listing
    • 36,759 miles
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from TX to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Killeen, TX / 1,278 miles away from Frederick, MD

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBBM0N0570405
    Stock: 27243406
    Certified Pre-Owned: No

  • New Listing
    • 34,684 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 25 City / 31 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from AZ to MD*
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Tucson, AZ / 1,932 miles away from Frederick, MD

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

    Features and Specs:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFADM9L0830921
    Stock: 26639611
    Certified Pre-Owned: No

  • New Listing
    • 68,546 miles
    • No accidents, 2 owners, corporate fleet vehicle
    • 5 Seats, 25 City / 31 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from TX to MD*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Houston, TX / 1,221 miles away from Frederick, MD

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFACM8L0765853
    Stock: 27375358
    Certified Pre-Owned: No

  • $22,874
    fair price
    $123 above market
    • 53,677 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 24 City / 30 Hwy MPG
    • CMA's Subaru of Winchester (46 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Winchester, VA / 46 miles away from Frederick, MD

    1-OWNER S PREFERRED

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBCM5N1549834
    Stock: T141220
    Certified Pre-Owned: No
    Listed since: 06-18-2025

  • New Listing
    $24,999
    fair price
    $449 below market
    • 44,273 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • Nucar Chevrolet (98 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in New Castle, DE / 98 miles away from Frederick, MD

    Recent Arrival! This 2022 Mazda CX-5 2.5 S Premium Package in Machine Gray Metallic features: SKYACTIV 2.5L 4-Cylinder DOHC 16V 6-Speed Automatic AWD ...

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM0N1617987
    Stock: M250281A
    Certified Pre-Owned: No
    Listed since: 07-16-2025

  • New Listing
    $20,998
    fair price
    $536 below market
    • 49,766 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 25 City / 31 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from FL to MD*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Orlando, FL / 786 miles away from Frederick, MD

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFACM1L0731513
    Stock: 27463822
    Certified Pre-Owned: No

  • New Listing
    $19,998
    fair price
    $443 above market
    • 53,645 miles
    • No accidents, 3 owners, personal use
    • 5 Seats, 25 City / 31 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from AL to MD*
    • Back-up camera
    • Bluetooth
    • Upgraded Headlights
    • Blind Spot Monitorin...
    • Tire Pressure Warnin...
    Close

    Located in Mobile, AL / 853 miles away from Frederick, MD

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFABM4L1745465
    Stock: 27604661
    Certified Pre-Owned: No

  • New Listing
    $23,990
    fair price
    $156 above market
    • 42,706 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 25 City / 31 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Richmond, VA / 119 miles away from Frederick, MD

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFADM5L0778574
    Stock: 2003872481
    Certified Pre-Owned: No
    Listed since: 07-12-2025

  • $26,998
    fair price
    $314 above market
    • 30,962 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from NV to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Las Vegas, NV / 2,064 miles away from Frederick, MD

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

    Features and Specs:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBEM0N1608527
    Stock: 27621571
    Certified Pre-Owned: No

    • 55,977 miles
    • No accidents, 3 owners, personal use
    • 5 Seats, 25 City / 31 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from NM to MD*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Albuquerque, NM / 1,624 miles away from Frederick, MD

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

    Features and Specs:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFACM9L0847106
    Stock: 27620058
    Certified Pre-Owned: No

  • $26,998
    fair price
    $90 above market
    • 30,904 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CA to MD*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Oxnard, CA / 2,317 miles away from Frederick, MD

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

    Features and Specs:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBEM9N0631214
    Stock: 26570514
    Certified Pre-Owned: No

Showing 505 - 525 out of 1,864 listings

Consumer Reviews for the Mazda CX-5

Read recent reviews for the Mazda CX-5
Overall Consumer Rating
4.4 out of 5 stars116 Reviews
Write a vehicle reviewSee all 116 reviews
  • 5 star
    (70%)
  • 4 star
    (14%)
  • 3 star
    (4%)
  • 2 star
    (7%)
  • 1 star
    (5%)
5 out of 5 stars

2021 CX5 GTR

Arkansas GTR owner, 07/20/2021
2021 Mazda CX-5 Grand Touring Reserve 4dr SUV AWD (2.5L 4cyl Turbo 6A)
I moved up, way up, from a 2013 GMC Terrain. The CX5 GTR is great! The power is fantastic, the ride is soooo much smoother , and the build quality is in a different universe from the GMC. The CX5 is very quiet, the Bose sound system superb, and the turbo flat out hauls a..... I looked at RAV4, CRV, ENVISION, Santa Fe, and RDX. The RDX was the only one even close, but was way more … expensive.
Report abuse

Used 2022 Mazda CX-5 in Frederick, MD Values

Estimated values
2022 Mazda CX-5 2.5 S Premium 4dr SUV AWD (2.5L 4cyl 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$21,425$23,249$25,162
Clean$21,044$22,797$24,630
Average$20,411$22,044$23,744
Rough$19,587$21,064$22,592

The average list price of a used 2022 Mazda CX-5 in Frederick, Maryland is $24,162. The average mileage on a used Mazda CX-5 2022 for sale in Frederick, Maryland is 38,575. Based on the average mileage of 38,575 for used 2022 Mazda CX-5 for sale in Frederick, MD 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-5 2022 in Frederick, Maryland to be $20,411.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

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.