implement extra constraints wildcard