temp.i = 0; for (temp.p: players) { with (findimg(200 + temp.i)) { // BAR } with (findimg(200 + 1 + temp.i)) { // BAR CONTENTS } temp.i += 2; }