Iterate over objects instead of modes. changed modes accessor
Only work on objects that have the is_tracked flag true
Add handling of tracked and nontracked objects