add stream analysis