adding back in constructors for raycasting