should also be `.last`. Maybe pull this out into a `val maxValue` so it's more readable