David A. Black wrote: > creatures = ArrayOfCreatures.new > [...] > num_of_creatures.times do |i| > creatures[i] = creature_classes[rand(4)].new > end Assuming that ArrayOfCreatures.new works like Array.new this can be simplified to: creatures = ArrayOfCreatures.new(num_of_creatures) do |i| creature_classes[rand(4)].new end -- Jabber: sepp2k / jabber.org ICQ: 205544826