add refraction