refraction method