Use list for iterator