can set min and max values separately