no adds 1 for mode 2 (2 seconds(of the ball staying in the same place)) 2 for mode 3 (3 seconds) 3 for mode 4 (4 seconds)
i folowed a tutorial but i added modes