Commented Code for Camera that causes crashes