Generating word list processes and function