array.rb modified