version 1.0.1, for streams