ball_init called