printing the min and max now