more complex example
forInit fix