Modified randomization method