more simple iterator
add printf