use inherited stream