adds max and min lines