multi path matching