mod BALL_NUM