add a stream method