added a function words list to filter text elements