make a variable x and then in the draw function x = x + 1 and the program does not run
make a variable x and then in the draw function x = x + 1 and the program does not run