matchFuncs now from external file