works with one passed wildcard