Add min and max paramters