copying over ray tracer