Photon basics tutorial, getting an error CameraWork doesnt exist in current context

i am a total beginner with photon and recently i stumbled upon an error while going through basic tutorial. In section 7 Networking there is a line of code CameraWork _cameraWork = this.gameObject.GetComponent<CameraWork>();
and i get an error saying CameraWork doesnt exist in current context. I think i did everything as it was in tutorial. If someone can give me some insight, it would be great. Thanks.