Modification of functions related to matching of parts