Added wildcards functionality