more changes to aggregate_objects.rb