add working copy of ray.k