Some states, it seems, are friendlier towards small businesses than others.

For its annual Small Business Friendliness Survey, Thumbtack, an online service company connecting businesses with local professionals, polled over 7,500 small business owners in all 50 states across a plethora of industries, from electricians to wellness professionals. Ninety-four percent of the businesses surveyed had five employees or less.

Survey participants answered questions across eight key factors, including topics like how friendly and supportive state and local governments were towards small businesses, the difficulty level of starting a new business in the location and the friendliness of state and local business regulations. All 50 states were then given a grade, ranging from A+ to F.

Five states scored an A+: South Dakota, Tennessee, Alaska, Michigan and Utah. Only Hawaii and Illinois failed. However, a handful of states earned a D: California, Wyoming, Kentucky, New Mexico and Rhode Island.