add stream reduce