changed the name collections to iterator