added common words and weighted the length of the words