added oneOf option