creation of OCR