add stream() method