add a simple construct for path matching