adding attenuation