updated extract digits. Can work together with ocr now