added introductory text, fixed issue with nil hocr text