finishing up some streaming functions