Although it may be surprising that two of the prettiest states in the U.S. are supposedly the worst to drive in, it kinda makes sense when you consider anything but spirited driving.

The study was run by Wallet Hub, a personal finance company. It looked at cost of ownership and maintenance, traffic and infrastructure, safety, and access to vehicles and maintenance to rank all 50 states.

In the end, Hawaii came in dead last with California coming in second last. Meanwhile, Texas and Indiana came first. Although Texas didn’t top any particular category (California was actually first in both days without precipitation and most auto-repair shops per capita), it did well in every category.

Also Read: Congestion Fell In 387 Cities Last Year Thanks To The Coronavirus

According to the study’s authors, every category was evaluated based on 31 metrics, each given a weight, to combine for a total score out of 100. Things like average gas price, cost of insurance, traffic congestion, road quality, traffic fatality rate, and more were considered.

Some of the categories given the most weight were average gas price, auto-maintenance cost, share of rush-hour traffic congestion, and average commute time.

Since Hawaii come last or nearly last in repair shops per capita, car washes per capita, gas prices, price of auto maintenance, and car thefts per capita, it didn’t fare particularly well on this test.

California’s high congestion and cost of ownership, meanwhile, did it no favors. It’s hard to argue that these factors would certainly make owning a car and commuting every day a bit of a headache.

To see where your state came, check out the full ranking below from Best to Worse:

1. Texas
2. Indiana
3. North Carolina
4. Iowa
5. Tennessee
6. Kentucky
7. Maine
8. Idaho
9. South Dakota
10. Ohio
11. Wisconsin
12. Kansas
13. Nebraska
14. Illinois
15. North Dakota
16. Virginia
17. Georgia
18. Montana
19. New York
20. Oklahoma
21. Utah
22. Vermont
23. Alabama
24. Wyoming
25. Arizona
26. Arkansas
27. Florida
28. West Virginia
29. Mississippi
30. Alaska
31. South Carolina
32. Minnesota
33. Louisiana
34. New Mexico
35. Connecticut
36. Nevada
37. Oregon
38. Michigan
39. Massachusetts
40. Missouri
41. Colorado
42. New Jersey
43. New Hampshire
44. Pennsylvania
45. Rhode Island
46. Delaware
47. Maryland
48. Washington
49. California
50. Hawaii
Source: WalletHub