commented OCR class