complete basic wildcard function.