cleaned up binaryWordsInformation() function