move iteraions to variable