updated container_objects() method