modulating the refractive index