impl astream demo