2 constraint uda