starting the OCR part