improving the noise deletion part