Perhaps we can use `Math.max` here?