begin stimulus randomization