adding denoising option