allowDiscrete