adding structure for ocr