use match to convert nameToCuid