small changes to words.rb