added random stream