change to single stream thread