fixed refraction. Works perfectly now