added WaveUtils