Setting the initial state in the 'for'