made changes in denoise