Dict.rb file improved