streams library
fixing provide
implement stream-map