added waveforms API