add stream's implementation