commit iterator and templatemethod