For the residents of many cities, public transportation has become a necessity for day-to-day life. However, it’s tough to build a public transportation network in a city. Bringing it into existence and adding to it over time is a long-term process that comes with numerous logistics and a hefty price tag.

The cities that have built public transportation networks have had varying levels of success with it. Financial news and information site WalletHub used public and private sector data to compare 100 U.S. cities across 17 relevant metrics and determine which cities have the best public transportation in 2019. For more information on how WalletHub’s analytical methodology, click here.

We’ve included the top 20 cities with the best public transportation networks here. Is your city on the list?