add spawn and stream