add support for max which also gets us the percentages back