wrapper for automatic waveform creation