Small change so that in section-iterate the list can be any Iterable object