added pushback/prepend support to stream
replace function