added waveform changes