added a flag for the ball status