nearly got the camera working