default value and allowed value work