where is `bestMatchingIcon` declared?