Added semi-functional code for camera