added ocr capabilities