using wavelets