added support for interactive waveform