added 'matches' to the shim