make sample random.