forloop iteration and assigns