allow one of the values only