further work with refraction
going deep with the refraction, something is wrong