modif for double porosity