implemented path matching using the new matchers