added timer to reset of the ball