changes to dict.rb