Adding refractive index