Write example driver stream code