logs maxValue