do some refraction.