wavelet.rb changes