added some wavelet compression & delay. jm