Also, I think a simple `providerList.indexOf()` would work fine here