refraction indices matter