[UPDATE] figure 3 now uses stream output data.