These variables should not be declared for each loop, since they don't change at all, they should be declared just once ouside of the for(){}