worked on homogenous medium