redrawing waveform when you ask for a random one