Broke Intent to take photo

trying to incorporate more of example code