add stream and test