refactored highest water level to use max_by