worked on heterogeneous medium