Case converted to elsif's; case can't take method as conditional?
Moved prov_map tests into prov_map test