add solution to wildcard matching