From: Steve Klabnik Date: 2010-01-29T06:02:19+09:00 Subject: Re: What am I doing wrong? --001485f5af8448b1aa047e3fd586 Content-Type: text/plain; charset=ISO-8859-1 Here's your problem: def create_list(word) words = [] words << word end Every time you call create_list, you make a new list. If I were going to write your code, I'd do it like this: words = [] 100.times { words << ("a".."z").to_a.shuffle[0..6].join } words.uniq! Make sense? --001485f5af8448b1aa047e3fd586--