new class RayPath