updated wordlist code