moved the $ back to wavepost