Adding qr decoding stuff