Modified stream definition