Last try - moving inits from loop