changed deprecated min & max to minimum & maximum