added sentence and words compatibility