made it more generic by calling words instead of USAUSAUSA.
Merge branch 'dynamicmem'