Rename loop variable i->object