wrote a new function to attempt to open camera