before refraction