added stuff for decoding qrcodes
syntax errors