skeleton code for waveform test