adding absorbtion function file