Some copypasted code for the camera. Not working.