updating name and adding methods to waveformclass