matchX - select one of the matching functions