removed unnessecarry lines from cameraCapture function