write stimuli into current array and randomize