added iter_objects and object tracking