Initial code for capturing words from highlighted boxes