Add for loops, increment; rearrange things.