extract variable for performance
Merge pull request #3 from tbpgr/refactor_word_collection

extract variable for performance