finished the configuration for the matching