add streams2 interface [#29]