Renamed iterator method to loop.