move the public and circles variable declarations outside the loop