debug messages and trying to grab a picture 3 times now