added camera and ray