modify stream operation