pushing stuff I wrote with  wave_read the other day