add DisplayWords function