working on attenuation