added attenuation formuala