implemented wildcard search