Denoising part modified