added takephoto