finish phase I QR code scanner