implement support for multiple wildcards