trying to fix the raytracer