centered the ball