Modified "topWords()"