implement maximize vs wildcard logic