Getting the camera to work