scaffolding for waveform