LendingTree, a mortgage lending firm has ranked Greensboro No. 21 on its list of the best cities for first-time home buyers.

The study factors in average down payments, average down payment percentage, percent of buyers who have less than prime credit, the share of homes sold that the median income family can afford, and other factors. This looked at the nation’s 100 largest cities.