add pair ostream