added constraint for the randomization method