add the ball collision