how to write a function
add a function.
add some debug message
add some more debug message
iterator