add comments about streams and the implementation.