Right. 

Do you think that I should amend the example this way, maybe at the cost of a less readable main loop ?