implemented camera, but with slight saving issue.