max is a defined method. can't use as key.