Work on object loop example, rewrites