use prefix increment with iterators