nit, a bit hard to read, maybe you can add the `[]` when passing the parameter to SimplePhoneMatcher like `var matchResult = SimplePhoneMatcher.bestMatch(variants, [matches]);` in order to make the map more readable.