simplify iter initialization
add ex 2.27