update putWave (#9)
update newWave (#9)