Data Max_Min additional function